X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..c6fe5ef7d8e2c42066e0f096d4d1c90a356c5b94:/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 adc6e12..8fb67f9 100644 --- a/forum/skins/default/templates/users/stats.html +++ b/forum/skins/default/templates/users/stats.html @@ -6,40 +6,47 @@ {% 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 }} @@ -51,12 +58,14 @@
{% endfor %}
-
+
+
{{ answers.paginator.page_numbers }}
+
{% spaceless %}

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

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

{% blocktrans count total_awards as counter %} - 1 Badge + {{counter}} Badge {% plural %} {{counter}} Badges {% endblocktrans %} @@ -118,10 +128,10 @@ {% endspaceless %}
- - +
+
{% for award, count in awards %} -  {{ award.name }} × {{ count|intcomma }}
+  {{ award.name }} × {{ count|intcomma }}
{% if forloop.counter|divisibleby:"6" %}