]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/badges.html
bugfix for issue 376, migrating inline styles to the CSS file and using relative...
[osqa.git] / forum / skins / default / templates / badges.html
1 {% extends "base.html" %}
2 <!-- template badges.html -->
3 {% load extra_tags %}
4 {% load humanize %}
5 {% load i18n %}
6 {% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %}
7 {% block content %}
8 <div class="headlineA">
9         <span class="headMedals">{% trans "Badges" %}</span>
10 </div>
11 <div class="badges" id="main-body" style="width:100%">
12     <p>
13         {% trans "Community gives you awards for your questions, answers and votes." %}
14         {% blocktrans %}Below is the list of available badges and number of times each type of badge has been awarded.
15     {% endblocktrans %}
16     </p>
17     <div id="medalList">
18         {% for badge in badges %}
19         <div style="clear:both;line-height:30px">
20             <div class="intoMyBadges">
21             {% if badge.id in mybadges %}
22                  <span>&#10004;</span>
23             {% endif %}
24             </div>
25             <div class="badgeListItem">
26                 <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><strong> &#215; {{ badge.awarded_count|intcomma }}</strong>
27             </div>
28             <p class="badgeListDescription">
29                 {{ badge.description }}
30             </p>
31         </div>
32         {% endfor %}
33     </div>
34 </div>
35 {% endblock %}
36 {% block sidebar %}
37
38 <div class="boxC">
39     <h3>{% trans "Community badges" %}</h3>
40     <div class="body">
41     <p>
42         <span title="{% trans "gold badge: the highest honor and is very rare" %}" class="medal"><span class="badge1">&#9679;</span>&nbsp;{% trans "gold" %}</span>
43     </p>
44     <p>
45         {% trans "gold badge description" %}
46     </p>
47     <p>
48         <span
49                         title="{% trans "silver badge: occasionally awarded for the very high quality contributions" %}" 
50                         class="medal"><span class="badge2">&#9679;</span>&nbsp;{% trans "silver" %}</span>
51     </p>
52     <p>
53         {% trans "silver badge description" %}
54     </p>
55     <p>
56         <span title="{% trans "bronze badge: often given as a special honor" %}" class="medal">
57                 <span class="badge3">&#9679;</span>&nbsp;{% trans "bronze" %}</span>
58     </p>
59     <p>
60         {% trans "bronze badge description" %}
61     </p>
62     </div>
63 </div>
64 {% endblock %}
65 <!-- end template badges.html -->