]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/badge.html
Fixes some errors that showed up in the logs.
[osqa.git] / forum / skins / default / templates / badge.html
index fcbb660463f4c19ae26ddf95c0269c0178da2111..341f2393b97ba56613244fe86414c9eb2f0a68a7 100644 (file)
@@ -23,7 +23,7 @@
     </p>
     <div>
         {% if badge.awarded_count %}
     </p>
     <div>
         {% if badge.awarded_count %}
-        <p style="float:left"><span class="count">{{ awards|length|intcomma }}</span>
+        <p style="float:left"><span class="count">{{ award_count|intcomma }}</span>
         <strong>{% trans "The users have been awarded with badges:" %}</strong></p>
         {% endif %}
     </div>
         <strong>{% trans "The users have been awarded with badges:" %}</strong></p>
         {% endif %}
     </div>