{% extends 'base.html' %} {% load i18n staticfiles tz stats %} {% block title %}{% trans 'Tankman Sortie Log' context 'sortie_page_title' %}: {{ sortie.date_start|date:'d.m.Y - H:i' }} / {{ player.nickname }} / {{ block.super }}{% endblock title %} {% block nav_tabs %} {% include 'inline/tankman_sortie_tabs.html' %} {% endblock nav_tabs %} {% block content %}
{% trans 'Sortie' context 'sortie_page_title' %}: {{ sortie.date_start|date:'d.m.Y - H:i' }} {% if sortie.is_disco %} {% trans 'Disconnect' context 'sortie_status' %} {% elif sortie.is_dead %} {% trans 'Dead' context 'sortie_status' %} {% elif sortie.is_captured %} {% trans 'Captured' context 'sortie_status' %} {% elif sortie.is_bailout %} {% trans 'Tank is abandoned' context 'sortie_status' %} {% elif sortie.is_lost_aircraft %} {% trans 'Tank is destroyed' context 'sortie_status' %} {% elif sortie.is_in_flight %} {% trans 'In Flight' context 'sortie_status' %} {% elif sortie.is_landed %} {% trans 'Landed' context 'sortie_status' %} {% elif sortie.is_not_takeoff %} {% trans 'In service' context 'sortie_status' %} {% endif %}
{% trans 'Tankman' context 'tankman_sorties' %}: {{ player.nickname }}
{% trans 'Back to tankman sorties list' %}
{% if sortie.is_disco %}
{% trans 'The results of this sortie are not included in the statistics of the tankman because of the disconnect' %}
{% endif %}
{% for event in events %}
{{ event.date|time:'H:i:s' }}
{{ event.message }} {% if event.extra_data.damage %} - {{ event.extra_data.damage }}% {% endif %}
{% if event.opponent_sortie and event.opponent_object.cls_base == 'aircraft' %} {{ event.opponent_sortie.nickname }} {% elif event.opponent_sortie and event.opponent_object.cls_base == 'tank' %} {{ event.opponent_sortie.nickname }} {% elif event.opponent_object and event.opponent_object.cls_base != 'block' %} {% trans 'AI' context 'sortie_log' %} {% endif %}
{{ event.opponent_object.name }}
{% endfor %}
{% endblock content %} {% block bottom %} {{ block.super }} {% endblock bottom %}