{% extends "badger/base.html" %}

{% block pageid %}badge_awards_by_badge{% endblock %}

{% block extrahead %}
    <link rel="alternate" type="application/atom+xml"
        title="{{ _('Recent awards') }}"
        href="{{ url('badger.feeds.awards_by_badge', 'atom', badge.slug) }}" />
{% endblock %}

{% block subcontent %}
<h1>{{ _('Badges:') }} {{ _("Awards for {title}") | f(title=badge.title) }}</h1>
<section class="row-fluid">
    <section>
        {% include "badger/includes/badge_full.html" %}
    </section>

    <section>
        <header class="page-header">
            <h2>{{_("Awards")}}</h2>
        </header>
        <ul class="awards">
            {% for award in awards %}
            <li>
                {% include "badger/includes/award_as_user.html" %}
            </li>
            {% endfor %}
        </ul>
    </section>
</section>
{% endblock %}
