summaryrefslogtreecommitdiffstats
path: root/askbot/templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-16 05:21:21 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-16 05:21:31 -0400
commitd850e2ab84144240db8eb122dc04679280c599d8 (patch)
tree419499f8aff5b0500ccaa5a55d79e0e29c83cc1c /askbot/templates
parentc913ec44fb92711712df93c3ca1f2c9d8aab628c (diff)
downloadaskbot-d850e2ab84144240db8eb122dc04679280c599d8.tar.gz
askbot-d850e2ab84144240db8eb122dc04679280c599d8.tar.bz2
askbot-d850e2ab84144240db8eb122dc04679280c599d8.zip
created a new js voting control for posts
Diffstat (limited to 'askbot/templates')
-rw-r--r--askbot/templates/macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/templates/macros.html b/askbot/templates/macros.html
index 74fc37ce..57f19b00 100644
--- a/askbot/templates/macros.html
+++ b/askbot/templates/macros.html
@@ -36,7 +36,7 @@
{%- macro post_vote_buttons(post = None) -%}
<div id="{{post.post_type}}-img-upvote-{{ post.id }}"
- class="{{post.post_type}}-img-upvote post-vote">
+ class="{{post.post_type}}-img-upvote post-vote upvote">
</div>
<div
id="{{post.post_type}}-vote-number-{{ post.id }}"
@@ -45,7 +45,7 @@
>{{ post.score }}</div>
<div
id="{{post.post_type}}-img-downvote-{{ post.id }}"
- class="{{post.post_type}}-img-downvote post-vote">
+ class="{{post.post_type}}-img-downvote post-vote downvote">
</div>
<script type="text/javascript">
askbot['functions']['renderPostVoteButtons']('{{post.post_type}}', '{{post.id}}');