summaryrefslogtreecommitdiffstats
path: root/templates/user_votes.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user_votes.html')
-rw-r--r--templates/user_votes.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/user_votes.html b/templates/user_votes.html
index d50a3308..ec967704 100644
--- a/templates/user_votes.html
+++ b/templates/user_votes.html
@@ -1,6 +1,8 @@
+<!-- user_votes.html -->
{% extends "user.html" %}
{% load extra_tags %}
{% load humanize %}
+{% load i18n %}
{% block usercontent %}
<div style="padding-top:5px;font-size:13px;">
@@ -9,9 +11,9 @@
<div style="width:150px;float:left">{% diff_date vote.voted_at 3 %}</div>
<div style="width:30px;float:left">
{% ifequal vote.vote 1 %}
- <img src="/content/images/vote-arrow-up-on.png" title="赞成票">
+ <img src="/content/images/vote-arrow-up-on.png" title="{% trans "upvote" %}">
{% else %}
- <img src="/content/images/vote-arrow-down-on.png" title="反对票">
+ <img src="/content/images/vote-arrow-down-on.png" title="{% trans "downvote" %}">
{% endifequal %}
</div>
<div style="float:left;overflow:hidden;width:750px">
@@ -25,4 +27,5 @@
</div>
{% endfor %}
</div>
-{% endblock %} \ No newline at end of file
+{% endblock %}
+<!-- end user_votes.html -->