{% extends 'base.html' %} {% load i18n staticfiles tz stats %} {#{% block title %}{{ block.super }}{% endblock title %}#} {% block content %} {% trans 'Current Tour' %}: {{ tour.get_title }} {% trans 'Dominance' context 'tour' %} {% trans 'Won missions' context 'tour' %} {% widthratio missions_wins.1 missions_wins_total 100 as width %} {{ missions_wins.1 }} {{ missions_wins.2 }} {% if summary_coal %} {% trans 'Shotdown aircraft' context 'tour' %} {% widthratio summary_coal.1.ak_total summary_total.ak_total 100 as width %} {{ summary_coal.1.ak_total }} {{ summary_coal.2.ak_total }} {% trans 'Ground targets destroyed' context 'tour' %} {% widthratio summary_coal.1.gk_total summary_total.gk_total 100 as width %} {{ summary_coal.1.gk_total }} {{ summary_coal.2.gk_total }} {% trans 'Score' context 'tour' %} {# Очков#} {% widthratio summary_coal.1.score summary_total.score 100 as width %} {{ summary_coal.1.score }} {{ summary_coal.2.score }} {% trans 'Flight time (hours)' context 'tour' %} {# Налет#} {% widthratio summary_coal.1.flight_time summary_total.flight_time 100 as width %} {{ summary_coal.1.flight_time|seconds_to_time:'h' }} {{ summary_coal.2.flight_time|seconds_to_time:'h' }} {% endif %} {% if top_24 %} {% trans 'Best pilots in the last 24 hours' context 'tour_top' %} # {% trans 'pilot nickname' context 'tour_top' %} {% trans 'score' context 'tour_top' %} {% for player, score in top_24 %} {{ forloop.counter }} {{ player.nickname }} {% include 'inline/table_coal_pref_icon.html' with coal_pref=player.coal_pref %} {{ score }} {% endfor %} {% endif %} {% if top_streak %} {% trans 'Best live pilots' context 'tour_top' %} # {% trans 'pilot nickname' context 'tour_top' %} {% trans 'score' context 'tour_top' %} {% for player in top_streak %} {{ forloop.counter }} {{ player.nickname }} {% include 'inline/table_coal_pref_icon.html' with coal_pref=player.coal_pref %} {{ player.score_streak_current }} {% endfor %} {% endif %} {% trans 'Overall Pilot Rankings' %} {% trans 'Coalitions' %} {% trans 'Allies' context 'coalition' %} {% trans 'Axis' context 'coalition' %} {% if NEW_TOUR_BY_MONTH %} {% trans 'Tour' %}: {{ tour.get_title }} {% widthratio tour.days_passed tour.days_in_tour 100 as width %} {% blocktrans trimmed count days=tour.days_left %} {{ days }} day left {% plural %} {{ days }} days left {% endblocktrans %} {# #} {# {% trans 'Results of other tours' %}#} {# #} {% endif %} {% if total_active_players %} {% trans 'Active players' %} {% trans 'total' context 'tour_active' %} {{ total_active_players }} {% widthratio coal_active_players.1 total_active_players 100 as width %} {% widthratio coal_active_players.2 total_active_players 100 as width %} {{ coal_active_players.1 }} {{ coal_active_players.0 }} {{ coal_active_players.2 }} {% endif %} {% if total_online %} {% trans 'Online' %} {% trans 'pilots' context 'online' %} {{ total_online }} {% widthratio allies_online total_online 100 as width %} {% widthratio axis_online total_online 100 as width %} {{ allies_online }} {{ axis_online }} {% trans 'List of pilots online' %} {% endif %} {% if previous_tour %} {% trans 'Summary previous tour' %} {% if previous_tour.winning_coalition %} {% if previous_tour.winning_coalition == 1 %} {% elif previous_tour.winning_coalition == 2 %} {% endif %} {% trans 'winner' context 'tour_winner' %} {{ previous_tour.get_winning_coalition_display }} {% endif %} {% trans 'Top Pilots' %} {% for player in previous_tour_top %} {{ forloop.counter }} {{ player.nickname }} {% endfor %} {% endif %} {% endblock content %}