]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/badges.html
a few more untranslated title tags on a's
[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 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 class="headlineA">
17         <span class="headMedals">{% trans "Badges" %}</span>
18 </div>
19 <div class="badges" id="main-body" style="width:100%">
20     <p>
21         {% trans "Community gives you awards for your questions, answers and votes." %}
22         {% blocktrans %}Below is the list of available badges and number of times each type of badge has been awarded.
23     {% endblocktrans %}
24     </p>
25     <div id="medalList">
26         {% for badge in badges %}
27         <div style="clear:both;line-height:30px">
28             <div style="float:left;min-width:30px;text-align:right;height:30px">
29             {% for a in mybadges %}
30                 {% ifequal a.badge_id badge.id %}
31                  <span style="font-size:175%; padding-right:5px; color:#5B9058;">&#10004;</span>
32                 {% endifequal %}
33             {% endfor %}
34             </div>
35             <div style="float:left;width:230px;">
36                 <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>
37             </div>
38             <p style="float:left;margin-top:8px;">
39                 {{ badge.description }}
40             </p>
41         </div>
42         {% endfor %}
43     </div>
44 </div>
45 {% endblock %}
46 {% block sidebar %}
47
48 <div class="boxC">
49     <h3>{% trans "Community badges" %}</h3>
50     <div class="body">
51     <p>
52         <a style="cursor:default;" title="{% trans "gold badge: the highest honor and is very rare" %}" class="medal"><span class="badge1">&#9679;</span>&nbsp;{% trans "gold" %}</a>
53     </p>
54     <p>
55         {% trans "gold badge description" %}
56     </p>
57     <p>
58         <a style="cursor:default;" 
59                         title="{% trans "silver badge: occasionally awarded for the very high quality contributions" %}" 
60                         class="medal"><span class="badge2">&#9679;</span>&nbsp;{% trans "silver" %}</a>
61     </p>
62     <p>
63         {% trans "silver badge description" %}
64     </p>
65     <p>
66         <a style="cursor:default;" title="{% trans "bronze badge: often given as a special honor" %}" class="medal">
67                 <span class="badge3">&#9679;</span>&nbsp;{% trans "bronze" %}</a>
68     </p>
69     <p>
70         {% trans "bronze badge description" %}
71     </p>
72     </div>
73 </div>
74 {% endblock %}
75 <!-- end template badges.html -->