]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/sidebar/recent_awards.html
Remove footer link to squatted domain
[osqa.git] / forum / skins / default / templates / sidebar / recent_awards.html
index c2c1b2628dbbe79a15a63cfb63c116dd13c91a4f..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}}" title="{{ award.badge_description }}" class="medal">\r
-            <span class="badge{{ award.badge_type }}">&#9679;</span>&nbsp;{{ award.badge_name }}</a>\r
-            <a href="/users/{{ award.user_id }}/{{ award.user_name|slugify }}/">{{ award.user_name }}</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
 </div>
\ No newline at end of file