X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/7608e62fe0292a62f7181c4bdd427adee0ccdfd6..592d1a73d6fcc1aba85b3aa016803939f755a15d:/forum/skins/default/templates/users/stats.html diff --git a/forum/skins/default/templates/users/stats.html b/forum/skins/default/templates/users/stats.html index d3806d9..fe34b19 100644 --- a/forum/skins/default/templates/users/stats.html +++ b/forum/skins/default/templates/users/stats.html @@ -7,49 +7,41 @@ {% 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 %} - {% spaceless %}
+ | |||
{% for tag in user_tags%}
{{tag.name}}
× {{ tag.user_tag_usage_count|intcomma }} {% if forloop.counter|divisibleby:"10" %} @@ -130,7 +120,7 @@ {% spaceless %}
{% blocktrans count total_awards as counter %}
- 1 Badge
+ {{counter}} Badge
{% plural %}
{{counter}} Badges
{% endblocktrans %}
@@ -138,14 +128,21 @@
{% endspaceless %}
|