]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/sidebar/recent_awards.html
Closing http://jira.osqa.net/browse/OSQA-224
[osqa.git] / forum / skins / default / templates / sidebar / recent_awards.html
1 {% load i18n %}\r
2 \r
3 <div class="boxC">\r
4     <h3>{% trans "Recent awards" %}</h3>\r
5     <div class="body">\r
6          <ul class="badge-list">\r
7          {% for award in awards %}\r
8             <li>\r
9             <a href="{% url badges %}{{award.badge.id}}/{{award.badge.name|slugify}}" title="{{ award.badge.description }}" class="medal">\r
10             <span class="badge{{ award.badge.type }}">&#9679;</span>&nbsp;{{ award.badge.name }}</a>\r
11             <a href="{{ award.user.get_profile_url }}">{{ award.user.username }}</a>\r
12             </li>\r
13         {% endfor %}\r
14         </ul>\r
15         <div class="more"><a href="{% url badges %}">{% trans "all awards" %} </a> </div>\r
16      </div>\r
17 </div>