summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsailingcai <sailingcai@gmail.com>2009-10-14 23:11:41 +0800
committersailingcai <sailingcai@gmail.com>2009-10-14 23:11:41 +0800
commitb1085dec13052fa9ff64b53ed292f1ad61064cac (patch)
tree896f2da8b89822ee8cb096d3092493d2f7406b21
parente02cd69de6b6c534792ba12b1ac10e01e04318c2 (diff)
downloadaskbot-b1085dec13052fa9ff64b53ed292f1ad61064cac.tar.gz
askbot-b1085dec13052fa9ff64b53ed292f1ad61064cac.tar.bz2
askbot-b1085dec13052fa9ff64b53ed292f1ad61064cac.zip
1. update var setting in blocktrans
-rw-r--r--templates/user_stats.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user_stats.html b/templates/user_stats.html
index 432a5b34..c324ff48 100644
--- a/templates/user_stats.html
+++ b/templates/user_stats.html
@@ -40,7 +40,7 @@
</a>
<div class="answer-link">
<a href="/questions/{{answered_question.id}}/{{answered_question.title}}#{{answered_question.answer_id}}">{{answered_question.title}}</a> {% if answered_question.comment_count %}<span
- title="{% blocktrans %}the answer has been commented {{ answered_question.comment_count }} times{% endblocktrans %}">({{answered_question.comment_count}})</span>{% endif %}
+ title="{% blocktrans with answered_question.comment_count as count %}the answer has been commented {{count}} times{% endblocktrans %}">({{answered_question.comment_count}})</span>{% endif %}
</div>
</div>
{% endfor %}