{% 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 "Characters" %}

{% trans "Coverage per character." %}

{% trans "Add character" %}
{% for char in characters %} {% empty %} {% endfor %}
{% trans "Character" %} {% trans "Status" %}
{{ char.name }} {{ char.name }} {% if char.has_all_scopes %} {% trans "All active" %} {% else %} {% trans "Missing scopes" %}
{% blocktrans with missing=char.missing_scopes|join:", " %}Missing: {{ missing }}{% endblocktrans %}
{% endif %}
{% trans "No characters found." %}
{% trans "Character scopes required by Indy Hub" %}
{% for scope in required_character_scopes_display %} {{ scope }} {% empty %} {% trans "No scopes defined." %} {% endfor %}
{% if can_manage_corp_bp_requests %}

{% trans "Corporations" %}

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

{% if corp_all_auth_url %} {% trans "Add corp " %} {% else %} {% trans "Unavailable" %} {% endif %}
{% for corp in corporations %} {% empty %} {% endfor %}
{% trans "Corporation" %} {% trans "Status" %}
{{ corp.corporation_name }}
{{ corp.corporation_name }}
{% if corp.roles_unavailable %} {% trans "Roles unavailable" %}
{% trans "ESI roles check failed; scopes unverified." %}
{% elif 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 %}
{% 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 %} {% block extra_javascript %} {{ block.super }} {% if token_management_live_refresh_needed and token_management_live_refresh_url %} {% endif %} {% endblock extra_javascript %}