]> git.openstreetmap.org Git - osqa.git/blobdiff - 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
index 016cc71d0073bc99d36c91ee2eda21e8ba95b36e..019a329f4e31ee1a6403e1aa6b462d99dd7c7fd2 100644 (file)
     <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>