]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/badges.html
we need to close both dialogs if users selects No on award points confirmation
[osqa.git] / forum / skins / default / templates / badges.html
index dbb0c00a9f96812cfb0295e58b32e873f383c9ee..019a329f4e31ee1a6403e1aa6b462d99dd7c7fd2 100644 (file)
@@ -4,39 +4,28 @@
 {% load humanize %}
 {% load i18n %}
 {% block title %}{% spaceless %}{% trans "Badges summary" %}{% endspaceless %}{% endblock %}
-{% block forejs %}
-       <script type="text/javascript">
-        $().ready(function(){
-            $("#nav_badges").attr('className',"on");
-        });
-         
-        </script>
-{% endblock %}
 {% block content %}
 <div class="headlineA">
         <span class="headMedals">{% trans "Badges" %}</span>
 </div>
 <div class="badges" id="main-body" style="width:100%">
     <p>
-       {% trans "Community gives you awards for your questions, answers and votes." %}<br/>
-       {% blocktrans %}Below is the list of available badges and number 
-    of times each type of badge has been awarded. Give us your <a href="{% url feedback %}">feedback</a>.
+       {% trans "Community gives you awards for your questions, answers and votes." %}
+       {% blocktrans %}Below is the list of available badges and number of times each type of badge has been awarded.
     {% endblocktrans %}
     </p>
     <div id="medalList">
         {% for badge in badges %}
         <div style="clear:both;line-height:30px">
-            <div style="float:left;min-width:30px;text-align:right;height:30px">
-            {% for a in mybadges %}
-                {% ifequal a.badge_id badge.id %}
-                 <span style="font-size:175%; padding-right:5px; color:#5B9058;">&#10004;</span>
-                {% endifequal %}
-            {% endfor %}
+            <div class="intoMyBadges">
+            {% if badge.id in mybadges %}
+                 <span>&#10004;</span>
+            {% endif %}
             </div>
-            <div style="float:left;width:230px;">
+            <div class="badgeListItem">
                 <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>
             </div>
-            <p style="float:left;margin-top:8px;">
+            <p class="badgeListDescription">
                 {{ badge.description }}
             </p>
         </div>
     <h3>{% trans "Community badges" %}</h3>
     <div class="body">
     <p>
-        <a style="cursor:default;" title="gold badge: the highest honor and is very rare" class="medal"><span class="badge1">&#9679;</span>&nbsp;{% trans "gold" %}</a>
+        <span title="{% trans "gold badge: the highest honor and is very rare" %}" class="medal"><span class="badge1">&#9679;</span>&nbsp;{% trans "gold" %}</span>
     </p>
     <p>
        {% trans "gold badge description" %}
     </p>
     <p>
-        <a style="cursor:default;" 
-                       title="silver badge: occasionally awarded for the very high quality contributions
-                       class="medal"><span class="badge2">&#9679;</span>&nbsp;{% trans "silver" %}</a>
+        <span
+                       title="{% trans "silver badge: occasionally awarded for the very high quality contributions" %}
+                       class="medal"><span class="badge2">&#9679;</span>&nbsp;{% trans "silver" %}</span>
     </p>
     <p>
        {% trans "silver badge description" %}
     </p>
     <p>
-        <a style="cursor:default;" title="{% trans "bronze badge: often given as a special honor" %}" class="medal">
-               <span class="badge3">&#9679;</span>&nbsp;{% trans "bronze" %}</a>
+        <span title="{% trans "bronze badge: often given as a special honor" %}" class="medal">
+               <span class="badge3">&#9679;</span>&nbsp;{% trans "bronze" %}</span>
     </p>
     <p>
        {% trans "bronze badge description" %}