X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..ce1fb7f146e5524565ad7cc003691d10134f2158:/forum/skins/default/templates/badges.html diff --git a/forum/skins/default/templates/badges.html b/forum/skins/default/templates/badges.html index 8de93df..019a329 100644 --- a/forum/skins/default/templates/badges.html +++ b/forum/skins/default/templates/badges.html @@ -4,39 +4,28 @@ {% load humanize %} {% load i18n %} {% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} {% block content %}
{% trans "Badges" %}

- {% trans "Community gives you awards for your questions, answers and votes." %}
- {% blocktrans %}Below is the list of available badges and number - of times each type of badge has been awarded. Give us feedback at {{feedback_faq_url}}. + {% trans "Community gives you awards for your questions, answers and votes." %} + {% blocktrans %}Below is the list of available badges and number of times each type of badge has been awarded. {% endblocktrans %}

{% for badge in badges %}
-
- {% for a in mybadges %} - {% ifequal a.badge_id badge.id %} - - {% endifequal %} - {% endfor %} +
+ {% if badge.id in mybadges %} + + {% endif %}
-
+
 {{ badge.name }} × {{ badge.awarded_count|intcomma }}
-

+

{{ badge.description }}

@@ -50,22 +39,22 @@

{% trans "Community badges" %}

-  {% trans "gold" %} +  {% trans "gold" %}

{% trans "gold badge description" %}

-  {% trans "silver" %} +  {% trans "silver" %}

{% trans "silver badge description" %}

- -  {% trans "bronze" %} + +  {% trans "bronze" %}

{% trans "bronze badge description" %}