]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/node/vote_buttons.html
Merge branch 'threadsafe_requestholder' into update_django
[osqa.git] / forum / skins / default / templates / node / vote_buttons.html
1 {% load i18n %}
2
3 <a id="post-{{ post.id }}-upvote" title="{% trans "I like this post (click again to cancel)" %}"
4     class="ajax-command post-vote up {% ifequal user_vote "up" %} on{% endifequal %}"
5      href="{% url "vote_post" id=post.id vote_type='up' %}" rel="nofollow"> </a>
6 <div id="post-{{ post.id }}-score" class="post-score"
7     title="{% trans "current number of votes" %}">
8     {{ post.score }}
9 </div>
10 <a id="post-{{ post.id }}-downvote" title="{% trans "I dont like this post (click again to cancel)" %}"
11     class="ajax-command post-vote down{% ifequal user_vote "down" %} on{% endifequal %}"
12      href="{% url "vote_post" id=post.id vote_type='down' %}" rel="nofollow"> </a>