]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/badge.html
deleting the test file
[osqa.git] / forum / skins / default / templates / badge.html
1 {% extends "base_content.html" %}
2 <!-- template badge.html -->
3 {% load i18n %}
4 {% load extra_tags %}
5 {% load humanize %}
6 {% block title %}{% spaceless %}{{ badge.name }} - {% trans "Badge" %}{% endspaceless %}{% endblock %}
7 {% block forejs %}
8        <script type="text/javascript">
9         $().ready(function(){
10             $("#nav_badges").attr('className',"on");
11         });
12          
13         </script>
14 {% endblock %}
15 {% block content %}
16 <div id="main-bar" class="headNormal">
17         {% trans "Badge" %}
18 </div>
19 <div id="main-body" style="width:100%;margin-bottom:20px">
20     <p>
21         <a href="{{badge.get_absolute_url}}" title="{{ badge.get_type_display }} : {{ badge.description }}" class="medal"><span class="badge{{ badge.type }}">&#9679;</span>&nbsp;{{ badge.name }}</a> {{ badge.description }}
22     </p>
23     <div>
24         {% if badge.awarded_count %}
25         <p style="float:left"><span class="count">{{ awards|length|intcomma }}</span>
26         <strong>{% trans "The users have been awarded with badges:" %}</strong></p>
27         {% endif %}
28     </div>
29     <div id="award-list" style="clear:both;margin-left:20px;line-height:25px;">
30         {% for award in awards %}
31         <p style="width:180px;float:left"><a href="{% url users %}{{ award.id }}/{{ award.name }}">{{ award.name }}</a> {% get_score_badge_by_details award.rep award.gold award.silver award.bronze %}</p>
32         {% endfor %}
33     </div>
34
35 </div>
36 {% endblock %}
37 <!-- end template badge.html -->