{% extends 'pilotstats/base.html' %} {% load i18n pilotstats %} {% block pilotstats_content %}

{% trans "Fleet Leaderboard" %}

{% if rows %}
{% for row in rows %} {% endfor %}
{% trans "Pilot" %} {% trans "Damage Dealt" %} {% trans "Damage Received" %} {% trans "Reps Received" %} {% trans "Reps Given" %} {% trans "Payout ISK" %} {% trans "Rats" %} {% trans "Kills / Losses" %} {% trans "ISK Destroyed / Lost" %} {% trans "Killmail Dmg" %}
{{ forloop.counter }} {{ row.label }} {% if row.by_character|length > 1 %} {{ row.by_character|length }} {% trans "characters" %} {% endif %} {{ row.damage_out|floatformat:0 }} {{ row.damage_in|floatformat:0 }} {{ row.reps_received_total|floatformat:0 }} {{ row.reps_given_total|floatformat:0 }} {% if row.payout_isk or row.wallet_connected %}{{ row.payout_isk|isk }}{% else %}—{% endif %} {% if row.rats_killed or row.wallet_connected %}{{ row.rats_killed|floatformat:0 }}{% else %}—{% endif %} {{ row.kills }} / {{ row.losses }} {{ row.isk_destroyed|isk }} / {{ row.isk_lost|isk }} {{ row.km_damage|floatformat:0 }}
{% for char_name, stats in row.by_character %} {% endfor %} {% for entry_type, amount in row.payout_by_type.items %} {% endfor %}
{{ char_name }} {{ stats.damage_out|floatformat:0 }} {{ stats.damage_in|floatformat:0 }} {{ stats.reps_received_total|floatformat:0 }} {{ stats.reps_given_total|floatformat:0 }}
{{ payout_labels|get_item:entry_type|default:entry_type }} {{ amount|isk }}
{% else %}

{% trans "Nothing in this range yet." %} {% if perms.pilotstats.basic_access %} {% trans "Upload your first combat log" %}. {% endif %}

{% endif %}
{% endblock %}