{# il2ks-template: templates/il2ks/players/detail_recent.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} detail_recent.html: the five latest sorties (any role) near the top of the profile, with the "View all sorties" button to the full list (keeps the tour scope: ?tour= or ?tour=all). Context: player, recent (PlayerSortie rows with .mission and .aircraft). Links: web:sortie-detail, web:mission-detail, web:player-sorties. {% endcomment %}
{% col_th _("Outcome") %} {% col_th _("Pilot fate") %} {% col_th _("Flight time") numeric=True %} {% for sortie in recent %} {% empty %} {% empty_row 7 %} {% endfor %}
{% translate "Date" %} {% translate "Aircraft" %}{% translate "Air kills" %} {% translate "Ground kills" %}
{{ sortie.spawned_at|local_time }} {% aircraft_icon sortie.aircraft "aircraft-table__icon" %} {{ sortie.aircraft|object_name }}{% if sortie.role == "gunner" %} {% badge _("Gunner") "grey" %}{% endif %} {% outcome_badge sortie.outcome %} {% pilot_fate_badge sortie %} {{ sortie.kills_air|num }} {{ sortie.kills_ground|num }} {{ sortie.flight_time_s|duration }}

{% translate "View all sorties" %}