{# il2ks-template: templates/il2ks/aircraft/top_ground.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} top_ground.html: a type's best attack pilots by attack proficiency (ground score per hour on target; FR-WEB-20, OQ-49), on the aircraft detail page. Context: ground_pilots (BoardRow: rank, player, stats, per_hour), rules (min_attack_sorties, min_time_on_target_minutes), primary (show the empty message when nobody qualifies; the secondary ranking is left out instead). {% endcomment %}{% if ground_pilots or primary %}

{% translate "Top attack pilots" %}

{% blocktranslate with sorties=rules.min_attack_sorties minutes=rules.min_time_on_target_minutes|num %}Attack proficiency in this aircraft. Pilots with at least {{ sorties }} attack sorties and {{ minutes }} minutes on target.{% endblocktranslate %}

{% col_th _("Attack proficiency") numeric=True hint="score_per_hour" %} {% col_th _("Time on target") numeric=True hint="time_on_target" %} {% col_th _("Attack sorties") numeric=True hint="attack_sorties" %} {% for row in ground_pilots %} {% empty %} {% empty_row 5 _("No pilot has enough attack sorties in this aircraft yet.") %} {% endfor %}
# {% translate "Pilot" %}
{{ row.rank|num }} {{ row.player.current_name }} {{ row.per_hour|num:1 }} {{ row.stats.time_on_target_s|duration }} {{ row.stats.attack_sorties|num }}
{% endif %}