]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/node/vote_buttons.html
Migrate to Django 1.6
[osqa.git] / forum / skins / default / templates / node / vote_buttons.html
index 9b95d607bf7b49232c66677c7b8fc72b3a2867ff..12ecfe412add7453d5dc4d9f93f9545b978a0597 100644 (file)
@@ -1,12 +1,12 @@
-{% load i18n %}\r
-\r
-<a id="post-{{ post.id }}-upvote" title="{% trans "I like this post (click again to cancel)" %}"\r
-    class="ajax-command post-vote up {% ifequal user_vote "up" %} on{% endifequal %}"\r
-     href="{% url vote_post id=post.id,vote_type='up' %}" rel="nofollow"> </a>\r
-<div id="post-{{ post.id }}-score" class="post-score"\r
-    title="{% trans "current number of votes" %}">\r
-    {{ post.score }}\r
-</div>\r
-<a id="post-{{ post.id }}-downvote" title="{% trans "I dont like this post (click again to cancel)" %}"\r
-    class="ajax-command post-vote down{% ifequal user_vote "down" %} on{% endifequal %}"\r
-     href="{% url vote_post id=post.id,vote_type='down' %}" rel="nofollow"> </a>
\ No newline at end of file
+{% load i18n %}
+
+<a id="post-{{ post.id }}-upvote" title="{% trans "I like this post (click again to cancel)" %}"
+    class="ajax-command post-vote up {% ifequal user_vote "up" %} on{% endifequal %}"
+     href="{% url "vote_post" id=post.id vote_type='up' %}" rel="nofollow"> </a>
+<div id="post-{{ post.id }}-score" class="post-score"
+    title="{% trans "current number of votes" %}">
+    {{ post.score }}
+</div>
+<a id="post-{{ post.id }}-downvote" title="{% trans "I dont like this post (click again to cancel)" %}"
+    class="ajax-command post-vote down{% ifequal user_vote "down" %} on{% endifequal %}"
+     href="{% url "vote_post" id=post.id vote_type='down' %}" rel="nofollow"> </a>