]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/sidebar/recent_awards.html
Migrate to Django 1.6
[osqa.git] / forum / skins / default / templates / sidebar / recent_awards.html
index b530677af4f8214dd6eb81659fdbff0fe500a128..4eb47f6c0b1f1cda17532e2b64677f0babd39a54 100644 (file)
@@ -1,17 +1,17 @@
-{% load i18n %}\r
-\r
-<div class="boxC">\r
-    <h3>{% trans "Recent awards" %}</h3>\r
-    <div class="body">\r
-         <ul class="badge-list">\r
-         {% for award in awards %}\r
-            <li>\r
-            <a href="{% url badges %}{{award.badge.id}}/{{award.badge.name|slugify}}" title="{{ award.badge.description }}" class="medal">\r
-            <span class="badge{{ award.badge.type }}">&#9679;</span>&nbsp;{{ award.badge.name }}</a>\r
-            <a href="{{ award.user.get_profile_url }}">{{ award.user.username }}</a>\r
-            </li>\r
-        {% endfor %}\r
-        </ul>\r
-        <div class="more"><a href="{% url badges %}">{% trans "all awards" %} </a> </div>\r
-     </div>\r
+{% load i18n %}
+
+<div class="boxC">
+    <h3>{% trans "Recent awards" %}</h3>
+    <div class="body">
+         <ul class="badge-list">
+         {% for award in awards %}
+            <li>
+            <a href="{% url "badges" %}{{award.badge.id}}/{{award.badge.name|slugify}}" title="{{ award.badge.description }}" class="medal">
+            <span class="badge{{ award.badge.type }}">&#9679;</span>&nbsp;{{ award.badge.name }}</a>
+            <a href="{{ award.user.get_profile_url }}">{{ award.user.decorated_name }}</a>
+            </li>
+        {% endfor %}
+        </ul>
+        <div class="more"><a href="{% url "badges" %}">{% trans "all awards" %} </a> </div>
+     </div>
 </div>
\ No newline at end of file