]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/sidebar/recent_awards.html
SPLUNK-198, Use the decorated name property for the recent badges in the sidebar.
[osqa.git] / forum / skins / default / templates / sidebar / recent_awards.html
index 87b5f51c6e25232468c8ccc375e4d28952517f7b..37672c4bf0fb84b8d0347e004a335e75ca361ad2 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.decorated_name }}</a>\r
             </li>\r
         {% endfor %}\r
         </ul>\r