summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question/answer_vote_buttons.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-09-20 12:36:42 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-09-20 12:37:11 -0400
commitf28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7 (patch)
tree0a6c4f51df6a95f1ce5b9c7789852788f564b9df /askbot/templates/question/answer_vote_buttons.html
parent0a4b87e237fad26b6d135aca9173bc4d8af57e7f (diff)
downloadaskbot-f28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7.tar.gz
askbot-f28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7.tar.bz2
askbot-f28adcc7058dd6c3ed49ec2b66e4c1324f9b10f7.zip
combined all dev branches for kp
Diffstat (limited to 'askbot/templates/question/answer_vote_buttons.html')
-rw-r--r--askbot/templates/question/answer_vote_buttons.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/askbot/templates/question/answer_vote_buttons.html b/askbot/templates/question/answer_vote_buttons.html
new file mode 100644
index 00000000..242bf2be
--- /dev/null
+++ b/askbot/templates/question/answer_vote_buttons.html
@@ -0,0 +1,10 @@
+{{ macros.post_vote_buttons(post = answer) }}
+<div
+ id="answer-img-accept-{{ answer.id }}"
+ class="answer-img-accept"
+ {% if answer.accepted() %}
+ title="{% trans %}this answer has been selected as correct{% endtrans %}"
+ {% else %}
+ title="{% trans %}mark this answer as correct (click again to undo){% endtrans %}"
+ {% endif %}
+></div>