X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a22e2d7df6fa02d2b32cfd731a40ddfc689e0270..616f252b4f00ddd0da4ed6bd130c21579f46a6f9:/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 547f01e..358771d 100644 --- a/forum/skins/default/templates/users/stats.html +++ b/forum/skins/default/templates/users/stats.html @@ -6,12 +6,12 @@ {% load humanize %} {% load question_list_tags %} {% block usercontent %} - +
{% spaceless %}

{% blocktrans count questions.paginator.count as counter %} - 1 Question + {{counter}} Question {% plural %} {{counter}} Questions {% endblocktrans %} @@ -19,8 +19,8 @@ href="{{ view_user.get_asked_url }}?type=rss" title="{% trans "subscribe to question RSS feed" %}">

{% endspaceless %} -
{{ questions.paginator.sort_tabs }}
-
+
{{ questions.paginator.sort_tabs }}
+
{% for question in questions.paginator.page %} {% question_list_item question favorite_count=yes signature_type=badges %} {% endfor %} @@ -28,18 +28,20 @@
{{ questions.paginator.page_numbers }}

+
+
{% spaceless %}

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

{% endspaceless %} -
{{ answers.paginator.sort_tabs }}
+
{{ answers.paginator.sort_tabs }}
{% for answer in answers.paginator.page %}
@@ -61,11 +63,14 @@
{{ 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, count in awards %} -  {{ award.name }} × {{ count|intcomma }}
+ {% spaceless %} + +  {{ award.name }} + + {% ifnotequal count 1 %} + × {{ count|intcomma }} + {% endifnotequal %}
{% if forloop.counter|divisibleby:"6" %}
{% endif %} + {% endspaceless %} {% endfor %}