{% extends "indy_hub/base.html" %} {% load i18n %} {% load static %} {% block page_title %}{% trans "ESI" %}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% url 'indy_hub:index' as overview_url %} {% include "indy_hub/partials/page_header.html" with icon_class="fas fa-key" title=_("ESI") subtitle=_("Authorize the scopes Indy Hub needs for each character and corporation.") back_url=overview_url back_label=_("Back to Overview") %} {% if corp_role_warnings %} {% for warning in corp_role_warnings %} {% endfor %} {% endif %}

{% trans "Overview" %}

{% trans "Token counts and the quickest actions to fix missing scopes." %}

{% trans "Add a character" %}

{% trans "Authorize blueprints, industry, and assets scopes in one step for your characters." %}

{% trans "Indy Hub will request every scope required by the module." %}

{% if can_manage_corp_bp_requests %}
{% trans "Add a corporation" %}

{% trans "Authorize director scopes (blueprints, jobs, assets, wallets, structures) at once." %}

{% trans "Covers Material Exchange and industry features." %}

{% if corp_all_auth_url %} {% trans "Add corp missing scope" %} {% else %} {% trans "Unavailable" %} {% endif %}
{% endif %}

{% trans "Characters" %}

{% trans "Coverage per character." %}

{% for char in characters %} {% empty %} {% endfor %}
{% trans "Character" %} {% trans "Status" %} {% trans "Blueprints" %} {% trans "Industry" %} {% trans "Assets" %}
{{ char.name }} {{ char.name }} {% if char.has_all_scopes %} {% trans "All active" %}
{% trans "Blueprints, industry, assets" %}
{% else %} {% trans "Missing scopes" %}
{% blocktrans with missing=char.missing_scopes|join:", " %}Missing: {{ missing }}{% endblocktrans %}
{% endif %}
{% if char.bp_enabled %} {% trans "OK" %} {% else %} {% trans "Missing" %} {% endif %} {% if char.jobs_enabled %} {% trans "OK" %} {% else %} {% trans "Missing" %} {% endif %} {% if char.assets_enabled %} {% trans "OK" %} {% else %} {% trans "Missing" %} {% endif %}
{% trans "No characters found." %}
{% trans "Character scopes required by Indy Hub" %}
{% for scope in required_character_scopes %} {{ scope }} {% empty %} {% trans "No scopes defined." %} {% endfor %}
{% if can_manage_corp_bp_requests %}

{% trans "Corporations" %}

{% trans "Coverage for director tokens." %}

{% for corp in corporations %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Status" %} {% trans "Blueprints" %} {% trans "Industry" %} {% trans "Assets" %}
{{ corp.corporation_name }}
{{ corp.corporation_name }}
{% if corp.has_all_scopes %} {% trans "All active" %}
{% trans "Director token ready" %}
{% else %} {% trans "Missing scopes" %}
{% blocktrans with missing=corp.missing_scopes|join:", " %}Missing: {{ missing }}{% endblocktrans %}
{% endif %}
{% if corp.blueprint.has_scope %} {% trans "OK" %} {% if corp.blueprint.character_name %}
{{ corp.blueprint.character_name }}
{% endif %} {% else %} {% trans "Missing" %} {% endif %}
{% if corp.jobs.has_scope %} {% trans "OK" %} {% if corp.jobs.character_name %}
{{ corp.jobs.character_name }}
{% endif %} {% else %} {% trans "Missing" %} {% endif %}
{% if corp.assets.has_scope %} {% trans "OK" %} {% if corp.assets.character_name %}
{{ corp.assets.character_name }}
{% endif %} {% else %} {% trans "Missing" %} {% endif %}
{% trans "No corporation access detected." %}
{% trans "Corporation scopes required by Indy Hub" %}
{% for scope in required_corporation_scopes %} {{ scope }} {% empty %} {% trans "No scopes defined." %} {% endfor %}
{% endif %}
{% endblock content %}