{# il2ks-template: templates/il2ks/sorties/all.html v1 - copy this line along when you override #} {% extends "il2ks/base.html" %}{% load i18n static il2ks %}{% comment %} Every sortie of the site (FR-WEB-29), newest first. View: il2ks.web.views.sorties.all_sorties. Filters, sorting and paging work with and without htmx (results_region). Context: tours / tour (the selector, TD-26: no ?tour = the current tour, ?tour=all = all time), quiet_tour (a tour is picked and nothing is listed), page_obj (PlayerSortie rows, with player, mission and aircraft), sort (the resolved ?sort= value), aircraft_options / outcome_options / seat_options / combat_role_options ((value, label) pairs), page_title, optional_columns (the columns a visitor can add), columns (the chosen ones, ?cols=; sortable headers), colspan. Blocks: head (page stylesheets), content; the row is `sorties/parts/all_row.html`. {% endcomment %} {% block head %}{% endblock %} {% block content %}
| {% translate "Pilot" %} | {% sort_th "aircraft" _("Aircraft") %} {% sort_th "mission" _("Mission") %} {% sort_th "outcome" _("Outcome") %} {% col_th _("Pilot fate") %} {% sort_th "kills_air" _("Air kills") numeric=True %} {% sort_th "kills_ground" _("Ground kills") numeric=True %} {% sort_th "flight_time" _("Flight time") numeric=True %} {% for column in columns %}{% if column.sortable %}{% sort_th column.key column.label numeric=column.numeric hint=column.description %}{% else %}{% col_th column.label numeric=column.numeric hint=column.description %}{% endif %}{% endfor %}
|---|