]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/sidebar/recent_awards.html
Show the name of the user on the accepted answer notification.
[osqa.git] / forum / skins / default / templates / sidebar / recent_awards.html
index 87b5f51c6e25232468c8ccc375e4d28952517f7b..b530677af4f8214dd6eb81659fdbff0fe500a128 100644 (file)
@@ -8,7 +8,7 @@
             <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="/users/{{ award.user_id }}/{{ award.user_name|slugify }}/">{{ award.user.username }}</a>\r
+            <a href="{{ award.user.get_profile_url }}">{{ award.user.username }}</a>\r
             </li>\r
         {% endfor %}\r
         </ul>\r