{% extends 'base.html' %}
{% load i18n staticfiles tz stats %}
{% block title %}{% trans 'Tankman Awards' context 'tankman_awards' %} / {{ player.nickname }} / {{ block.super }}{% endblock title %}

{% block nav_tabs %}
    {% include 'inline/tankman_tabs.html' %}
{% endblock nav_tabs %}

{% block content %}
    <section id="content">
        <div class="wrapper">
            <div class="content_head">
                <div class="content_title">
                    {% trans 'Tankman Awards' context 'tankman_awards' %}
                    <div class="content_title_sm">{% trans 'Tankman' context 'tankman_awards' %}: {{ player.nickname }}</div>
                </div>
            </div>
            {% if rewards %}
                <div class="tankman_awards">
                {% for reward in rewards %}
                    <div class="award">
                        <div class="title">
                            {{ reward.award.title }}
                        </div>
                        <img src="{{ reward.award.img.url }}" alt="" title="{{ reward.award.desc }}" width="180" height="180">
                    </div>
                {% endfor %}
                </div>
            {% endif %}
        </div>
    </section>
{% endblock content %}
