{% 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' }}
{% if MODULE_AMMO_BREAKDOWN %}
{% else %}
{% endif %} {% if event.extra_data.damage.ram %} {% trans 'Ram' %} {% else %} {{ event.message }} {% endif %} {% if event.extra_data.damage %} {% if event.extra_data.damage.pct %} - {{ event.extra_data.damage.pct }}% {% if event.extra_data.damage.translated_hits %}
{{ event.extra_data.damage.translated_hits }} {% endif %} {% else %} - {{ event.extra_data.damage }}% {% endif %} {% 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 == 'turret' %} {{ 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 %}
{% if MODULE_AMMO_BREAKDOWN %} * {% trans 'Ammo types are not attached to damage logs in the log files. "Ammo hit" logs are attached via processing to damage logs using an educated guess, so it may be incorrect.' %}
{% endif %}
{% endblock content %} {% block bottom %} {{ block.super }} {% endblock bottom %}