-{% 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 }}">●</span> {{ 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 }}">●</span> {{ 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