{% extends "two_column_body.html" %}
{% import "macros.html" as macros %}
{%from "macros.html" import gravatar %}
<!-- template badge.html -->
{% block title %}{% spaceless %}{% trans name=badge.get_name() %}{{name}}{% endtrans %} - {% trans %}Badge{% endtrans %}{% endspaceless %}{% endblock %}
{% block content %}
<h1 class="section-title">
<img src="/m/default/media/images/badges/{{badge.get_key()}}.png" />
        {% trans name=badge.get_name() %}Badge "{{name}}"{% endtrans %}</h1>
    <p>
        {% trans description=badge.get_description() %}{{description}}{% endtrans %}
    </p>
    <div>
        {% if badge.awarded_count %}
        <p style="float:left"><span class="count">{{ badge_recipients|length|intcomma }}</span>
        <strong>{% trans num_awardees=badge_recipients|length %}user received this badge:{% pluralize %}users received this badge:{% endtrans %}</strong></p>
        {% endif %}
    </div>
    <div class="clean"></div>
    <div id="award-list">
        {{ macros.user_list(
            badge_recipients,
            karma_mode=settings.KARMA_MODE,
            badges_mode=settings.BADGES_MODE
        )}}
    </div>
{% endblock %}
<!-- end template badge.html -->
