{% extends "two_column_body.html" %}
<!-- template badges.html -->
{% block title %}{% spaceless %}{% trans %}Badges{% endtrans %}{% endspaceless %}{% endblock %}
{% block content %}
<h1 class="section-title">{% trans %}Badges{% endtrans %}</h1>
<p>
{{ settings.WORDS_COMMUNITY_GIVES_YOU_AWARDS|escape }}
<br/>
{% trans %}Below is the list of available badges and number of times each type of badge has been awarded.{% endtrans %}
</p>
<div id="medalList">
    {% for badge in badges %}
    <div class="medal-box {% if badge.id not in my_badge_ids %}not-owned{% endif %}">
        <div>
            <a href="{{badge.get_absolute_url()}}" 
                title="{{ badge.get_type_display() }} : {{ badge.get_description() }}" 
                class="medal"><img src="/m/default/media/images/badges/{{badge.get_key()}}.png" />
                <br/>
                <span>{{ badge.get_name() }}</span></a>
        <strong> &#215; {{ badge.awarded_count|intcomma }}</strong>
        </div>
    </div>
    {% endfor %}
</div>
{% endblock %}
{% block sidebar %}
<div class="box">
    <h2>{% trans %}Community badges{% endtrans %}</h2>
    <h3> <img src="/m/default/media/images/badges/gold.png" />
        &nbsp;{% trans %}gold{% endtrans %}</a>
    </h3>
    <p>
        {% trans %}Gold badge is the highest award in this community. To obtain it you have to show 
profound knowledge and ability in addition to your active participation.{% endtrans %}
    </p>
    <h3> <img src="/m/default/media/images/badges/silver.png" />
        &nbsp;{% trans %}silver{% endtrans %}</a>
    </h3>
    <p>
        {% trans %}silver badge: occasionally awarded for the very high quality contributions{% endtrans %}
    </p>
    <h3> <img src="/m/default/media/images/badges/bronze.png" />
        &nbsp;{% trans %}bronze{% endtrans %}</a>
    </h3>
    <p>
        {% trans %}bronze badge: often given as a special honor{% endtrans %}
    </p>
</div>
{% endblock %}
<!-- end template badges.html -->
