{# il2ks-template: templates/il2ks/leaderboards/list.html v1 - copy this line along when you override #} {% extends "il2ks/base.html" %}{% load i18n static il2ks %}{% comment %} Leaderboards (FR-WEB-7, FR-WEB-19, FR-WEB-20). View: il2ks.web.views.leaderboards.leaderboard. Context: board (the queries.leaderboards.Board), title, help, tab_groups ((group title, tab rows) pairs; a tab row is (key, title, url, current, icon name; the url keeps the tour / pool / aircraft choice)), pool_options ((value, label) pairs for the prop / jet filter), sort (resolved), page_obj (Page of BoardRow: rank, player, stats, per_hour, rating and games on the Elo boards), tours / tour (the tour selector, TD-26: no ?tour = current tour, ?tour=all = all time; empty for the all-time-only Elo boards), aircraft_options ((pk, name) pairs, empty where the board has no aircraft filter), rules (the minimum-activity thresholds). The ironman boards also get running_page (the runs going right now, None in a past tour) and active_days. Blocks: head (page stylesheet), content. The table is leaderboards/table.html. {% endcomment %} {% block head %}{% endblock %} {% block content %}
{{ help }}
{% endif %}{% if board.key == "elo-prop" or board.key == "elo-jet" %} {% blocktranslate count games=rules.min_elo_games %}Pilots with at least {{ games }} encounter.{% plural %}Pilots with at least {{ games }} encounters.{% endblocktranslate %} {% elif board.key == "play-time" %} {% translate "Pilots with any flight time." %} {% elif board.streak_track %} {% translate "Pilots with at least one survived sortie on this track." %} {% elif board.key == "interception" %} {% blocktranslate with sorties=rules.min_air_superiority_sorties minutes=rules.min_air_superiority_minutes|num %}Pilots with at least {{ sorties }} air superiority sorties and {{ minutes }} minutes of air superiority flight.{% endblocktranslate %} {% elif board.key == "ground-hour" or board.key == "tank-busting" %} {% blocktranslate with sorties=rules.min_attack_sorties minutes=rules.min_time_on_target_minutes|num %}Pilots with at least {{ sorties }} attack sorties and {{ minutes }} minutes on target.{% endblocktranslate %} {% else %} {% blocktranslate count sorties=rules.min_sorties %}Pilots with at least {{ sorties }} sortie.{% plural %}Pilots with at least {{ sorties }} sorties.{% endblocktranslate %} {% endif %}
{% pagination page_obj %} {% if running_page is not None %}{% blocktranslate with days=active_days %}Pilots still alive after the most consecutive sorties. Only pilots who flew in the last {{ days }} days are listed.{% endblocktranslate %}
{% include "il2ks/leaderboards/ironman_running.html" %} {% translate "Running streaks" as running_name %}{% blocktranslate asvar running_pages with name=running_name %}Pagination: {{ name }}{% endblocktranslate %} {% pagination running_page param="page_running" label=running_pages %} {% endif %} {% endresults_region %} {% endblock %}