$("#quote-rating-<%= @quote.id %>").html('<%= escape_javascript("+#{@quote.upvotes}/-#{@quote.downvotes}") %>');
<% if @quote.already_upvoted? request.remote_ip %>
$("#quote-upvote-link-<%= @quote.id %>").html("Up");
<% elsif @quote.already_downvoted? request.remote_ip %>
$("#quote-downvote-link-<%= @quote.id %>").html("Down");
<% else %>
$("#quote-upvote-link-<%= @quote.id %>").html('<%= escape_javascript(link_to("Up", upvote_quote_path(@quote.id), :remote => true, :rel => "nofollow", :class => "quote-upvote-link", method: :post)) %>');
$("#quote-downvote-link-<%= @quote.id %>").html('<%= escape_javascript(link_to("Down", downvote_quote_path(@quote.id), :remote => true, :rel => "nofollow", :class => "quote-downvote-link", method: :post)) %>');
<% end %>
$("#quote-header-<%= @quote.id %>").effect('highlight', {}, 2000);
' value='688961cf74cf4709d9daebeb0a81f30f201fccbd'/>
blob: 65a99ff7f5de119e3cd7babdd299e5f9f4ac00f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
name: "Anti Room"
panels {
name: "HA (1)"
path: "Panels/Entry/panel_7"
clue: "ha"
answer: "haha"
}
panels {
name: "HA (2)"
path: "Panels/Entry/panel_8"
clue: "ha"
answer: "hahaha"
}
panels {
name: "HA (3)"
path: "Panels/Entry/panel_12"
clue: "ha"
answer: "hahahaha"
}
panels {
name: "HA (4)"
path: "Panels/Entry/panel_13"
clue: "ha"
answer: "hahahahaha"
}
panels {
name: "HA (5)"
path: "Panels/Entry/panel_14"
clue: "ha"
answer: "hahahahahaha"
}
panels {
name: "TWO"
path: "Panels/Entry/panel3"
clue: "two"
answer: "digit"
symbols: EXAMPLE
}
panels {
name: "EYE (1)"
path: "Panels/Entry/panel4"
clue: "eye"
answer: "iris"
symbols: BOXES
}
panels {
# This appears after grabbing the anti-collectable.
name: "EYE (2)"
path: "Components/Doors/Door3/Hinge/panel_i"
clue: "eye"
answer: "i"
symbols: ZERO
}
|