{# il2ks-template: templates/il2ks/sorties/parts/timeline_table.html v2.3 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} Timeline rows as a table. Context: rows (sortie_view.TimelineRow: kind, icon, label, tone, clock, utc, place, text, who, altitude, altitude_title, count, summary, damage, ammo, ammo_title, children). A grouped row (kind "kill_group") folds its children in a details element, the first 20 listed (OQ-96). {% endcomment %}
| {% translate "Time" %} | {% translate "Event" %} | {% translate "Details" %} | {% col_th _("Altitude") numeric=True hint="timeline_altitude" %}{% col_th _("Damage") numeric=True hint="timeline_damage" %}||
|---|---|---|---|---|
| {% cell_hint row.clock row.place %} {{ row.at|local_clock }} | {% icon row.icon %}{{ row.label }} |
{% if row.children %}
{% if row.kind == "fence_group" %}{% blocktranslate with n=row.count|num %}{{ n }} fences{% endblocktranslate %}{% else %}{% blocktranslate with n=row.count|num %}{{ n }} ground targets{% endblocktranslate %}{% endif %}: {{ row.summary }}
|
{% if row.altitude %}{% cell_hint row.altitude row.altitude_title %}{% endif %} | {% if row.damage %}{{ row.damage }}{% endif %} |