X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..81edc0ee15d585335606abf37dc7e6cffda24d6f:/forum/skins/default/templates/badge.html diff --git a/forum/skins/default/templates/badge.html b/forum/skins/default/templates/badge.html index af6aa2a..341f239 100644 --- a/forum/skins/default/templates/badge.html +++ b/forum/skins/default/templates/badge.html @@ -2,6 +2,7 @@ {% load i18n %} {% load extra_tags %} +{% load user_tags %} {% load humanize %} {% block title %}{% spaceless %}{{ badge.name }} - {% trans "Badge" %}{% endspaceless %}{% endblock %} {% block forejs %} @@ -22,13 +23,13 @@

{% if badge.awarded_count %} -

{{ awards|length|intcomma }} +

{{ award_count|intcomma }} {% trans "The users have been awarded with badges:" %}

{% endif %}
{% for award in awards %} -

{{ award.name }} {% get_score_badge_by_details award.rep award.gold award.silver award.bronze %}

+

{% user_signature award.user "badges" %} × {{ award.count|intcomma }}

{% endfor %}