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

{% trans "My Stats" %}

{% blocktrans trimmed with weeks=week_count %} Your last {{ weeks }} weeks, by when you flew. Weeks start Monday 00:00 EVE time. Average DPS and ISK per hour are weighted by time and only count sessions of 10 minutes or more. {% endblocktrans %}

{% trans "Average DPS this week" %}
{% if this_week.dps is not None %}{{ this_week.dps|floatformat:0 }}{% else %}—{% endif %}
{% trans "last week" %}: {% if last_week.dps is not None %}{{ last_week.dps|floatformat:0 }}{% else %}—{% endif %}
{% trans "ISK per hour this week" %}
{% if this_week.isk_per_hour is not None %}{{ this_week.isk_per_hour|isk }}{% else %}—{% endif %}
{% trans "last week" %}: {% if last_week.isk_per_hour is not None %}{{ last_week.isk_per_hour|isk }}{% else %}—{% endif %}
{% trans "Hours logged this week" %}
{{ this_week.hours|floatformat:1 }}
{% trans "last week" %}: {{ last_week.hours|floatformat:1 }}
{% trans "Rats killed this week" %}
{% if wallet_connected %}{{ this_week.rats }}{% else %}—{% endif %}
{% trans "last week" %}: {% if wallet_connected %}{{ last_week.rats }}{% else %}—{% endif %}
{% if not wallet_connected %}
{% url 'pilotstats:events' as events_url %} {% blocktrans trimmed %} ISK per hour, payouts and rats need a connected wallet. Connect one on the Events page. {% endblocktrans %}
{% endif %} {% if has_sessions %}
{% trans "Weekly trend" %}
{{ chart|json_script:"pstats-trends-data" }}
{% endif %}
{% trans "By week" %}
{% if has_sessions or wallet_connected %}
{% for week in weeks %} {% endfor %}
{% trans "Week of" %} {% trans "Sessions" %} {% trans "Hours" %} {% trans "Damage" %} {% trans "Avg DPS" %} {% trans "ISK/h" %} {% trans "Payouts" %} {% trans "Rats" %}
{{ week.week|date:"M j" }} {{ week.sessions }} {{ week.hours|floatformat:1 }} {{ week.damage_out|floatformat:0 }} {% if week.dps is not None %}{{ week.dps|floatformat:0 }}{% else %}—{% endif %} {% if week.isk_per_hour is not None %}{{ week.isk_per_hour|isk }}{% else %}—{% endif %} {% if wallet_connected %}{{ week.payouts|isk }}{% else %}—{% endif %} {% if wallet_connected %}{{ week.rats }}{% else %}—{% endif %}
{% else %}

{% trans "Nothing in the last weeks yet." %} {% if perms.pilotstats.basic_access %} {% trans "Upload a combat log" %}. {% endif %}

{% endif %}
{% trans "Personal records" %}
{% trans "Most damage in a session" %} {% if records.damage %}{{ records.damage.damage_out|floatformat:0 }}{% else %}—{% endif %}
{% trans "Best session DPS" %} {% if records.dps %}{{ records.dps.dps_out|floatformat:0 }}{% else %}—{% endif %}
{% trans "Best session ISK/h" %} {% if records.isk_per_hour %}{{ records.isk_per_hour.isk_per_hour|isk }}{% else %}—{% endif %}
{% trans "Best payout day" %} {% if records.payout_day %}{{ records.payout_day.total|isk }} ({{ records.payout_day.day|date:"M j" }}){% else %}—{% endif %}
{% trans "Most rats in a day" %} {% if records.rats_day %}{{ records.rats_day.total }} ({{ records.rats_day.day|date:"M j" }}){% else %}—{% endif %}

{% trans "Rate records need a session of 10 minutes or more." %}

{% trans "Your weapons" %}
{% if weapons.rows %}
{% for weapon in weapons.rows %} {% endfor %}
{% trans "Weapon" %} {% trans "Damage" %} {% trans "Hit rate" %} {% trans "Sessions" %}
{{ weapon.weapon }} {{ weapon.damage|floatformat:"0g" }} {{ weapon.hit_rate|floatformat:0 }}% {{ weapon.sessions }}
{% else %} {% trans "No weapon data in the last weeks yet." %} {% endif %}

{% blocktrans count counter=weapons.counted %}From {{ counter }} session in the last {{ week_count }} weeks.{% plural %}From {{ counter }} sessions in the last {{ week_count }} weeks.{% endblocktrans %} {% if weapons.missing %} {% blocktrans count counter=weapons.missing %}{{ counter }} older session has no weapon breakdown yet: upload its log file again (or resume folder scanning) to add it.{% plural %}{{ counter }} older sessions have no weapon breakdown yet: upload their log files again (or resume folder scanning) to add them.{% endblocktrans %} {% endif %}

{% endblock %} {% block extra_javascript %} {{ block.super }} {% if has_sessions %} {% include "bundles/chart-js.html" %} {% endif %} {% endblock extra_javascript %}