{# il2ks-template: templates/il2ks/players/detail_totals.html v1.2 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} detail_totals.html: the secondary totals, laid out as a grid of small label-over-value cells (4 columns on wide screens, 2 on phones; players.css .totals-grid). Context: stats (the player, a tour row, or the role's summed rows). {% endcomment %}
{% translate "Takeoffs" %}
{{ stats.takeoffs|num }}
{% translate "Landings" %}
{{ stats.landings|num }}
{% translate "Bailouts" %}
{{ stats.bailouts|num }}
{% translate "Suspected early bailouts" %}
{{ stats.suspected_early_bailouts|num }}
{% translate "Captures" %}
{{ stats.captures|num }}
{% translate "Attack sorties" %}
{{ stats.attack_sorties|num }}
{% translate "Time on target" %}
{{ stats.time_on_target_s|duration }}
{% translate "Strafed on the ground" %}
{{ stats.strafed_on_ground|num }}
{% translate "Friendly kills" %}
{{ stats.friendly_kills|num }}
{% translate "Friendly hits" %}
{{ stats.friendly_hits|num }}
{# Until `il2ks reprocess --all` has counted the sides (0 and 0) the two lines would say "0 · 0": hide them. #} {% if stats.sorties_redfor or stats.sorties_blufor %} {% side "redfor" as red_name %}{% side "blufor" as blue_name %} {% blocktranslate asvar by_side with red=stats.sorties_redfor|num blue=stats.sorties_blufor|num %}{{ red_name }} {{ red }} · {{ blue_name }} {{ blue }}{% endblocktranslate %} {# Translators: profile total: how many of the pilot's sorties were flown for each side (REDFOR / BLUFOR) #}
{% translate "Sorties per side" %}
{{ by_side }}
{# Translators: profile total: sorties flown for the side that had fewer pilots spawned in at the time, with its share of all sorties #}
{% translate "Underdog sorties" %}
{{ stats.sorties_underdog|num }} ({{ stats.sorties_underdog|percent:stats.sorties }}){% stat_mark "underdog_share" %}
{% endif %}