{# il2ks-template: templates/il2ks/players/killboard.html v1 - copy this line along when you override #} {% extends "il2ks/base.html" %}{% load i18n static il2ks il2ks_boards %}{% comment %} A player's full killboard (FR-WEB-9). View: il2ks.web.views.boards.player_killboard. Above the player table: the killboard by aircraft type ({% type_killboard %}, players/_type_killboard.html). Context: player, tours, tour (None = all time), page_obj (PlayerKillboard or PlayerTourKillboard rows with .opponent and .last_mission), sort (resolved), site, crumbs, page_title. Kills = kill credits of this player on the opponent, deaths = the opponent's on this player (PvP air). Assists (the player's assist credits on the opponent) get their own column when site.killboard_assists is on. Blocks: head, content. {% endcomment %} {% block head %}{% endblock %} {% block content %} {% breadcrumbs crumbs %}

{% blocktranslate with name=player.current_name %}Killboard of {{ name }}{% endblocktranslate %}

{% tour_select tours tour %}

{% if site.killboard_assists %}{% translate "Who this pilot shot down and who shot them down: air kill credits between players. Assists are counted in their own column, not as kills." %}{% else %}{% translate "Who this pilot shot down and who shot them down: air kill credits between players. Assists are not counted." %}{% endif %}

{% if absence %}{% blocktranslate asvar absent_message with name=player.current_name tour=absence.tour|tour_title %}{{ name }} did not fly in {{ tour }}.{% endblocktranslate %}{% tour_absent absence absent_message %}{% endif %} {% type_killboard player tour 60 as types %}{% if types.victims or types.nemeses %}

{% translate "By aircraft" %}

{% include "il2ks/players/_type_killboard.html" %}

{% translate "By player" %}

{% endif %} {% results_region %}
{% sort_th "opponent" _("Opponent") %} {% sort_th "kills" _("Kills") numeric=True %} {% sort_th "deaths" _("Deaths") numeric=True %} {% if site.killboard_assists %}{% sort_th "assists" _("Assists") numeric=True hint="assists" %}{% endif %} {% sort_th "last" _("Last encounter") first="desc" %} {% for row in page_obj %}{% include "il2ks/players/_killboard_rows.html" %} {% empty %}{% empty_row 4|add:site.killboard_assists _("No player-versus-player kills yet.") %}{% endfor %}
{% pagination page_obj %} {% endresults_region %} {% endblock %}