{# il2ks-template: templates/il2ks/sorties/parts/killed_by.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} "Shot down by": the kill and assist credits against this sortie. Context: sortie, detail.shot_down_by (sortie_view.KillerRow: clock, utc, who, credit "kill" or "assist", note, friendly). Shown only when the aircraft or pilot was lost or someone is credited. A friendly killer is marked clearly. {% endcomment %}{% if detail.shot_down_by or sortie.is_plane_lost %}
| {% translate "Time" %} | {% translate "Attacker" %} | {# Translators: how the kill is credited to the attacker (sole kill, shared kill, assist), a short column header #} {% col_th _("Credit") hint="credit" %}{% translate "Note" %} | |
|---|---|---|---|
| {{ row.clock }} {{ row.at|local_clock }} | {% include "il2ks/sorties/parts/who.html" with who=row.who %} | {% if row.friendly %}{% badge _("Friendly fire") "red" icon="event/friendly-fire" %}{% elif row.credit == "kill" %}{% badge _("Kill") "red" %}{% else %}{% badge _("Assist") "grey" %}{% endif %} | {{ row.note }} |
{% translate "No attacker is credited: the aircraft was lost by its own doing (terrain, overstress or an accident)." %}
{% else %}{% translate "The log does not name an attacker." %}
{% endif %} {% endif %}