X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/133a8f939cdfa69dd6a7caeafed158aa38d20092..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/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 6381b59..bcc2f52 100644 --- a/forum/skins/default/templates/users/stats.html +++ b/forum/skins/default/templates/users/stats.html @@ -6,40 +6,49 @@ {% 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 +60,17 @@
{% endfor %}
-
+
+
{{ answers.paginator.page_numbers }}
+
+
+ + {% spaceless %}

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

{% blocktrans count user_tags|length as counter %} - 1 Tag + {{counter}} Tag {% plural %} {{counter}} Tags {% endblocktrans %} @@ -90,12 +104,13 @@ {% endspaceless %}
- - + @@ -110,7 +125,7 @@ {% spaceless %}

{% blocktrans count total_awards as counter %} - 1 Badge + {{counter}} Badge {% plural %} {{counter}} Badges {% endblocktrans %} @@ -118,14 +133,21 @@ {% endspaceless %}

+
{% for tag in user_tags%} + class="tag-link-{{ tag.name }}" + title="{% blocktrans with tag.name as tag_name %}see other questions with {{view_user}}'s contributions tagged '{{ tag_name }}' {% endblocktrans %}" + href="{% url "tag_questions" tag|urlencode %}?user={{view_user.username}}">{{tag.name}} × {{ tag.user_tag_usage_count|intcomma }}
{% if forloop.counter|divisibleby:"10" %}
- - +
- {% 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 %}