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

{% trans "My Mining" %}

{% blocktrans trimmed with weeks=week_count %} Your last {{ weeks }} weeks from EVE's mining ledger, by the day mined (weeks start Monday 00:00 EVE time). ISK is an estimate: units times ESI's average market price. {% endblocktrans %} {% if prices_updated_at %}{% blocktrans with ago=prices_updated_at|timesince %}Prices updated {{ ago }} ago.{% endblocktrans %}{% endif %}

{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
{% trans "Est. ISK this week" %}
{{ this_week.isk|isk }}
{% trans "last week" %}: {{ last_week.isk|isk }}
{% trans "Units this week" %}
{{ this_week.units|floatformat:"0g" }}
{% trans "last week" %}: {{ last_week.units|floatformat:"0g" }}
{% blocktrans with weeks=week_count %}Est. ISK, {{ weeks }} weeks{% endblocktrans %}
{{ mining.isk|isk }}
{{ mining.units|floatformat:"0g" }} {% trans "units" %}
{% if has_mining %}
{% trans "Estimated ISK per week" %}
{{ chart|json_script:"pstats-mining-data" }}
{% trans "By ore" %}
{% for ore in mining.ores %} {% endfor %}
{% trans "Ore" %} {% trans "Kind" %} {% trans "Units" %} {% trans "Est. ISK" %} {% trans "Days" %}
{{ ore.name }} {{ kind_labels|get_item:ore.kind }} {{ ore.units|floatformat:"0g" }} {% if ore.priced %}{{ ore.isk|isk }}{% else %}—{% endif %} {{ ore.days }}
{% trans "By solar system" %}
{% for place in mining.systems %} {% endfor %}
{% trans "System" %} {% trans "Units" %} {% trans "Est. ISK" %}
{{ place.name }} {{ place.units|floatformat:"0g" }} {{ place.isk|isk }}
{% if mining.unpriced %}

{% blocktrans with units=mining.unpriced|floatformat:"0g" %}{{ units }} units have no ESI price yet and count as 0 ISK.{% endblocktrans %}

{% endif %} {% elif not opted_out %}
{% if any_connected %} {% trans "Nothing mined in these weeks yet, or EVE hasn't updated the ledger. It's read about once an hour." %} {% else %} {% trans "Connect a character below to see your mining here and on the mining leaderboard." %} {% endif %}
{% endif %}
{% trans "Your characters" %}

{% blocktrans trimmed %} Pilot Stats reads each connected character's mining ledger about once an hour. EVE keeps 30 days of it, so connecting brings in the last 30 days; from then on Pilot Stats keeps the history. {% endblocktrans %}

{% trans "Connect a character's mining" %}
{% csrf_token %}
{{ settings_form.mining_opt_out }}
{{ settings_form.mining_opt_out.help_text }}
{% endblock %} {% block extra_javascript %} {{ block.super }} {% if has_mining %} {% include "bundles/chart-js.html" %} {% endif %} {% endblock extra_javascript %}