{% extends "holdfast/sov/base.html" %} {% load i18n %} {% load humanize %} {% load holdfast_tags %} {% block holdfast_content %} {% if not rows %}
{% translate "No sovereignty hubs yet." %} {% if perms.holdfast.manage_owners %} {% translate "Register a corporation on the Owners page to start pulling data." %} {% endif %}
{% else %}
{% for row in rows %} {% endfor %}
{% translate "System" %} {% translate "Corporation" %} {% translate "Status" %} {% translate "Fuel left" %} {% translate "Runs dry (UTC)" %} {% translate "Reagents" %} {% translate "Power" %} {% translate "Workforce" %} {% translate "Upgrades" %}
{{ row.hub.system_name }} {{ row.hub.owner.corporation.corporation_name }} {% if not row.hub.has_details %} {% translate "queued" %} {% elif row.severity %} {{ row.severity }} {% elif not row.hub.fuel_expires_at %} {% translate "idle" %} {% else %} {% translate "ok" %} {% endif %} {% if row.hub.fuel_expires_at %} {{ row.hub.hours_of_fuel_left|hours_human }} {% else %} {% translate "nothing burning" %} {% endif %} {% if row.hub.fuel_expires_at %}{{ row.hub.fuel_expires_at|date:"Y-m-d H:i" }}{% else %}—{% endif %} {% for reagent in row.hub.reagents.all %}
{{ reagent.type_name }}: {{ reagent.amount|intcomma }} (-{{ reagent.burning_per_hour|intcomma }}/h, {{ reagent.hours_left|hours_human }})
{% empty %}—{% endfor %}
{{ row.hub.power_allocated|intcomma }} / {{ row.hub.power_available|intcomma }} {{ row.hub.workforce_allocated|intcomma }} / {{ row.hub.workforce_available|intcomma }} {% for upgrade in row.hub.upgrades.all %} {{ upgrade.type_name }} {% empty %}—{% endfor %}

{% blocktranslate with warn=config.fuel_warning_days|floatformat:"-1" danger=config.fuel_danger_days|floatformat:"-1" crit=config.fuel_critical_days|floatformat:"-1" %}Amber under {{ warn }} days, red under {{ danger }}, critical under {{ crit }}. The same numbers drive the Discord alerts.{% endblocktranslate %} {% translate "Countdowns are extrapolated from the reagent bay snapshot ESI reports, which CCP caches for one hour." %}

{% endif %} {% endblock %}