{# il2ks-template: templates/il2ks/players/detail_shame.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} detail_shame.html: the light-hearted "hall of shame" (doc 13): taxi accidents and friendly-fire kills (friendly objects the pilot destroyed; OQ-72). Context: player, stats, marks (stat thresholds of the scope, FR-WEB-22). The quip is flavor text (FR-WEB-23), stable per player; it depends on which incidents the pilot has and whether their rate is in the top 10%. Hall-of-shame achievements (kind ribbon, flag shame; doc 17) sit under the tiles as ribbons: medal_set.shame. {% endcomment %}

{% translate "Hall of shame" %}

{% stat_tile stats.taxi_accidents|num _("Taxi accidents") sub=_("Lost before the first takeoff, by their own doing") icon="stat/taxi-accidents" %} {% stat_tile stats.friendly_kills|num _("Friendly-fire kills") sub=_("Friendly aircraft and ground objects they destroyed") icon="stat/friendly-fire" %} {% shame_flavor stats player.pk as shame_quip %}{% if shame_quip %}

{{ shame_quip }}

{% endif %}
{% if medal_set.shame %}
{% for m in medal_set.shame %}{% include "il2ks/achievements/_ribbon.html" with href=m.href %}{% endfor %}
{% endif %}