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

{% trans "Mining" %}

{% trans "My Mining" %}

{% blocktrans trimmed %} Ore, moon ore, ice and gas mined by pilots who connected their mining ledger, by the day it was mined. 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 groups is not None %} {% if groups %}
{% for row in groups %} {% include "pilotstats/includes/mining_kind_cells.html" %} {% endfor %}
{% if group == "alliance" %}{% trans "Alliance" %}{% else %}{% trans "Corporation" %}{% endif %} {% trans "Pilots" %} {% trans "Units" %} {% trans "Est. ISK" %} {{ kind_labels.ore }} {{ kind_labels.moon }} {{ kind_labels.ice }} {{ kind_labels.gas }}
{% if row.known %}{{ row.label }}{% else %}{% if group == "alliance" %}{% trans "No alliance or unknown" %}{% else %}{% trans "Unknown" %}{% endif %}{% endif %} {{ row.pilots }} {{ row.units|floatformat:"0g" }} {{ row.isk|isk }}
{% else %}

{% trans "No mining in this range yet." %}

{% endif %} {% elif ores is not None %} {% if ores %}
{% for ore in ores %} {% endfor %}
{% trans "Ore" %} {% trans "Kind" %} {% trans "Pilots" %} {% trans "Units" %} {% trans "Share of units" %} {% trans "Est. ISK" %}
{{ ore.name }} {{ kind_labels|get_item:ore.kind }} {{ ore.pilots }} {{ ore.units|floatformat:"0g" }} {{ ore.share|floatformat:1 }}% {% if ore.priced %}{{ ore.isk|isk }}{% else %}—{% endif %}
{% else %}

{% trans "No mining in this range yet." %}

{% endif %} {% elif rows %}
{% for row in rows %} {% include "pilotstats/includes/mining_kind_cells.html" %} {% for ore in row.ores %} {% endfor %} {% for character in row.characters %} {% endfor %} {% endfor %}
{% trans "Pilot" %} {% trans "Units" %} {% trans "Est. ISK" %} {{ kind_labels.ore }} {{ kind_labels.moon }} {{ kind_labels.ice }} {{ kind_labels.gas }}
{% trans "Ores" %}
{{ ore.name }} {{ kind_labels|get_item:ore.kind }} {{ ore.units|floatformat:"0g" }} {% if ore.priced %}{{ ore.isk|isk }}{% else %}—{% endif %}
{% trans "Characters" %}
{{ character.name }} {{ character.units|floatformat:"0g" }} {{ character.isk|isk }}
{% else %}

{% trans "No mining in this range yet." %} {% trans "Connect your mining ledger" %}.

{% endif %}
{% endblock %}