{% extends 'base.html' %} {% load i18n staticfiles tz stats %} {% block title %}{% trans '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/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 'Bailout' context 'sortie_status' %} {% elif sortie.is_lost_aircraft %} {% trans 'Aircraft lost' context 'sortie_status' %} {% elif sortie.is_in_flight %} {% trans 'In Flight' context 'sortie_status' %} {% elif sortie.is_landed %} {% trans 'Landed' context 'sortie_status' %} {% endif %}
{% trans 'pilot' context 'pilot_sorties' %}: {{ player.nickname }}
{% trans 'Back to sorties list' %}
{% if sortie.is_disco %}
{% trans 'The results of this sortie are not included in the statistics of the pilot 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 %} {{ 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 %}