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