X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f2d00f9d7d5d28149707f66c719b28edfe51aed..9a075e7d95c3b16c05011410de59196caaa86e66:/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 96a1f36..358771d 100644 --- a/forum/skins/default/templates/users/stats.html +++ b/forum/skins/default/templates/users/stats.html @@ -6,66 +6,71 @@ {% load humanize %} {% load question_list_tags %} {% block usercontent %} - +
{% spaceless %}

- {% blocktrans count questions|length as counter %} - 1 Question + {% blocktrans count questions.paginator.count as counter %} + {{counter}} Question {% plural %} {{counter}} Questions {% endblocktrans %} +

{% endspaceless %} -
- {% for question in questions %} +
{{ questions.paginator.sort_tabs }}
+
+ {% for question in questions.paginator.page %} {% question_list_item question favorite_count=yes signature_type=badges %} {% endfor %}

+
{{ questions.paginator.page_numbers }}
+
+
+ +
{% spaceless %}

- {% blocktrans count answers|length as counter %} - 1 Answer + {% blocktrans count answers.paginator.count as counter %} + {{counter}} Answer {% plural %} {{counter}} Answers {% endblocktrans %}

{% endspaceless %} +
{{ answers.paginator.sort_tabs }}
- {% for answer in answers %} + {% for answer in answers.paginator.page %}
- + {{ answer.score }}
{% endfor %}
-
+
+
{{ answers.paginator.page_numbers }}
+
+
+ + {% spaceless %}

{% blocktrans count total_votes as cnt %} - 1 Vote + {{cnt}} Vote {% plural %} {{cnt}} Votes {% endblocktrans %} @@ -91,7 +96,7 @@ {% spaceless %}

{% blocktrans count user_tags|length as counter %} - 1 Tag + {{counter}} Tag {% plural %} {{counter}} Tags {% endblocktrans %} @@ -99,11 +104,12 @@ {% endspaceless %}
- - +
+
{% for tag in user_tags%} × {{ tag.user_tag_usage_count|intcomma }}
{% if forloop.counter|divisibleby:"10" %} @@ -119,7 +125,7 @@ {% spaceless %}

{% blocktrans count total_awards as counter %} - 1 Badge + {{counter}} Badge {% plural %} {{counter}} Badges {% endblocktrans %} @@ -127,14 +133,21 @@ {% endspaceless %}
- - +
- {% for award in awards %} -  {{ award.name }} × {{ award.count|intcomma }}
+
+ {% for award, count in awards %} + {% spaceless %} + +  {{ award.name }} + + {% ifnotequal count 1 %} + × {{ count|intcomma }} + {% endifnotequal %}
{% if forloop.counter|divisibleby:"6" %}
{% endif %} + {% endspaceless %} {% endfor %}