X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/6b22f44c53cf0d72a7b2b068f51cae01e1129e23..616f252b4f00ddd0da4ed6bd130c21579f46a6f9:/forum/skins/default/templates/users/stats.html?ds=sidebyside diff --git a/forum/skins/default/templates/users/stats.html b/forum/skins/default/templates/users/stats.html index 35c344a..358771d 100644 --- a/forum/skins/default/templates/users/stats.html +++ b/forum/skins/default/templates/users/stats.html @@ -6,50 +6,44 @@ {% load humanize %} {% load question_list_tags %} {% block usercontent %} - - {% declare %} - question_count = questions.count() - show_more_questions_link = question_count > 15 - questions = questions[:15] - - answer_count = answers.count() - show_more_answers_link = answer_count > 30 - answers = answers[:30] - {% enddeclare %} - +
+ | |||
{% for tag in user_tags%}
{{tag.name}}
× {{ tag.user_tag_usage_count|intcomma }} {% if forloop.counter|divisibleby:"10" %} @@ -130,7 +125,7 @@ {% spaceless %}
{% blocktrans count total_awards as counter %}
- 1 Badge
+ {{counter}} Badge
{% plural %}
{{counter}} Badges
{% endblocktrans %}
@@ -138,14 +133,21 @@
{% endspaceless %}
|