X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b86f8cb34daecd1cd260771713412ebf0a0abc31..0df1608e9f603e6f40b306a3aff20e52e7318d5a:/forum/skins/default/templates/badges.html diff --git a/forum/skins/default/templates/badges.html b/forum/skins/default/templates/badges.html index e3a91e0..019a329 100644 --- a/forum/skins/default/templates/badges.html +++ b/forum/skins/default/templates/badges.html @@ -4,14 +4,6 @@ {% load humanize %} {% load i18n %} {% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} {% block content %}
{% trans "Badges" %} @@ -25,17 +17,15 @@
{% 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 }}

@@ -49,22 +39,22 @@

{% trans "Community badges" %}

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

{% trans "gold badge description" %}

-  {% trans "silver" %} + class="medal"> {% trans "silver" %}

{% trans "silver badge description" %}

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

{% trans "bronze badge description" %}