X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/426c13f4005f004594d6c684873ff8ef81128eb5..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 22b32cf..fe34b19 100644
--- a/forum/skins/default/templates/users/stats.html
+++ b/forum/skins/default/templates/users/stats.html
@@ -11,7 +11,7 @@
{% spaceless %}
{% blocktrans count questions.paginator.count as counter %}
- 1 Question
+ {{counter}} Question
{% plural %}
{{counter}} Questions
{% endblocktrans %}
@@ -20,7 +20,7 @@
{% endspaceless %}
{{ questions.paginator.sort_tabs }}
-
+
{% for question in questions.paginator.page %}
{% question_list_item question favorite_count=yes signature_type=badges %}
{% endfor %}
@@ -33,7 +33,7 @@
{% spaceless %}
{% blocktrans count answers.paginator.count as counter %}
- 1 Answer
+ {{counter}} Answer
{% plural %}
{{counter}} Answers
{% endblocktrans %}
@@ -65,7 +65,7 @@
{% spaceless %}
{% blocktrans count total_votes as cnt %}
- 1 Vote
+ {{cnt}} Vote
{% plural %}
{{cnt}} Votes
{% endblocktrans %}
@@ -91,7 +91,7 @@
{% spaceless %}
{% blocktrans count user_tags|length as counter %}
- 1 Tag
+ {{counter}} Tag
{% plural %}
{{counter}} Tags
{% endblocktrans %}
@@ -103,7 +103,8 @@
{% for tag in user_tags%}
{{tag.name}}
× {{ tag.user_tag_usage_count|intcomma }}
{% if forloop.counter|divisibleby:"10" %}
@@ -119,7 +120,7 @@
{% spaceless %}
{% blocktrans count total_awards as counter %}
- 1 Badge
+ {{counter}} Badge
{% plural %}
{{counter}} Badges
{% endblocktrans %}
@@ -130,11 +131,18 @@
{% 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 %}
|
|