{# il2ks-template: templates/il2ks/players/detail_achievements.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} detail_achievements.html: the profile's achievements (FR-WEB-26, doc 17): medals first (the highest tier of every medal the player has earned in the selected scope), then the ribbon rack (the simpler achievements), each linking to the sortie that earned it, and links to the full list and the overview. The scope follows the tour choice (TD-26: a tour, or all time with ?tour=all). Hall-of-shame ribbons are in detail_shame.html. Shows nothing for a player without a medal or ribbon. Context: player, tour, medal_set (web.medals.MedalSet: .medals, .ribbons, .shame; read once in detail.html with {% player_medals player tour as medal_set %}), tour_query. {% endcomment %}{% if medal_set.medals or medal_set.ribbons %}

{% translate "Achievements" %}

{% translate "All achievements" %} → · {% translate "Overview" %} →
{% if medal_set.medals %}
{% for m in medal_set.medals %}{% include "il2ks/achievements/_medal.html" with href=m.href %}{% endfor %}
{% endif %} {% if medal_set.ribbons %}
{% for m in medal_set.ribbons %}{% include "il2ks/achievements/_ribbon.html" with href=m.href %}{% endfor %}
{% endif %}
{% endif %}