{% extends "indy_hub/base.html" %} {% load i18n %} {% load static %} {% block page_title %}{% trans "Indy Hub" %}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% include "indy_hub/includes/popup.html" %}
{% trans "Corporate command center" %}

{% trans "Direct your industrial network" %}

{% trans "Align director token coverage, watch corporate production, and configure copy sharing from one dashboard." %}

{% if show_corporation_tab and corporation_overview %}
{% trans "Across your corporations" %}
{{ corp_blueprint_count|default:0 }}
{% trans "Blueprints tracked" %} {% if corporation_share_summary and corporation_share_summary.total %} {% blocktrans with total=corporation_share_summary.total %}{{ total }} corporations connected{% endblocktrans %} {% else %} {% trans "Awaiting director tokens" %} {% endif %}
{{ corp_jobs_total|default:0 }}
{% trans "Industry jobs indexed" %} {% if corp_active_jobs_count %} {% blocktrans with active=corp_active_jobs_count %}{{ active }} running now{% endblocktrans %} {% else %} {% trans "No active runs detected" %} {% endif %}
{{ corporation_share_summary.enabled|default:0 }}
{% trans "Corporations sharing copies" %} {% if corporation_share_summary and corporation_share_summary.total %} {% blocktrans with enabled=corporation_share_summary.enabled total=corporation_share_summary.total %}{{ enabled }} of {{ total }} sharing{% endblocktrans %} {% else %} {% trans "Configure sharing scopes below" %} {% endif %}
{% endif %}
{% if show_corporation_tab %}

{% trans "Director readiness" %}

{% trans "Confirm which corporations have live director tokens before reviewing production metrics." %}

{% trans "Token coverage" %}

{% trans "Blueprint and industry director tokens unlock every insight on this page." %}

{% if corp_scope_status %} {% blocktrans with total=corp_scope_status|length %}{{ total }} corporations detected{% endblocktrans %} {% else %} {% trans "No corporations detected yet" %} {% endif %}
{% if has_corp_blueprint_tokens %} {% trans "At least one blueprint director token active" %} {% else %} {% trans "Blueprint director token missing" %} {% endif %}
{% if has_corp_job_tokens %} {% trans "At least one industry director token active" %} {% else %} {% trans "Industry director token missing" %} {% endif %}
{% if corp_scope_status %}

{% trans "Coverage highlights" %}

    {% for corp in corp_scope_status|slice:":5" %}
  • {{ corp.corporation_name }}
    {% if corp.blueprint.has_scope %} {% if corp.blueprint.character_name %} {% blocktrans with name=corp.blueprint.character_name %}Blueprint via {{ name }}{% endblocktrans %} {% else %} {% trans "Blueprint ready" %} {% endif %} {% else %} {% trans "Blueprint missing" %} {% endif %} {% if corp.jobs.has_scope %} {% if corp.jobs.character_name %} {% blocktrans with name=corp.jobs.character_name %}Industry via {{ name }}{% endblocktrans %} {% else %} {% trans "Industry ready" %} {% endif %} {% else %} {% trans "Industry missing" %} {% endif %}
  • {% endfor %}
{% else %}

{% trans "Authorize a director blueprint or industry token to populate your corporations." %}

{% trans "Manage ESI tokens" %}
{% endif %}
{% trans "Director checklist" %}

{% trans "Share these requirements with leadership so every director provides the right access." %}

{% if corporation_overview and corporation_overview.required_roles %}
{% trans "Corporate roles" %}
    {% for role in corporation_overview.required_roles %}
  • {{ role }}
  • {% endfor %}
{% endif %}

{% trans "ESI scopes in use" %}

{% if corporation_overview and corporation_overview.scopes %}
    {% if corporation_overview.scopes.blueprints %}
  • {{ corporation_overview.scopes.blueprints }}
  • {% endif %} {% if corporation_overview.scopes.jobs %}
  • {{ corporation_overview.scopes.jobs }}
  • {% endif %} {% if corporation_overview.scopes.roles %}
  • {{ corporation_overview.scopes.roles }}
  • {% endif %} {% if corporation_overview.scopes.structures %}
  • {{ corporation_overview.scopes.structures }}
  • {% endif %}
{% else %}

{% trans "Scopes will appear once a director token is linked." %}

{% endif %}

{% trans "Corporate operations" %}

{% trans "Monitor blueprint holdings and factory throughput across every corporation you manage." %}

{% trans "Blueprint library" %}

{% trans "Corporate originals, copies, and reactions." %}

{{ corp_blueprint_count|default:0 }}
{% if corporation_overview and corporation_overview.has_corporations %}
{% trans "Originals" %} {{ corp_original_blueprints|default:0 }}
{% trans "Copies" %} {{ corp_copy_blueprints|default:0 }}
{% trans "Reactions" %} {{ corp_reaction_blueprints|default:0 }}

{% trans "Directors with corporate tokens keep the shared library current." %}

{% trans "Recent corporations" %}

    {% for corp in corporation_overview.corporations|slice:":4" %}
  • {{ corp.name }} {{ corp.blueprints.total|default:0 }}
  • {% empty %}
  • {% trans "No corporate blueprints detected yet." %}
  • {% endfor %}
{% else %}

{% trans "Authorize a director blueprint token to surface corporate holdings." %}

{% trans "Manage ESI tokens" %}
{% endif %}
{% trans "Industry jobs" %}

{% trans "Track active runs and delivered work across the corporation hangars." %}

{{ corp_jobs_total|default:0 }}
{% if corporation_overview and corporation_overview.has_corporations %}
{{ corp_active_jobs_count|default:0 }} {% trans "Active jobs" %}
{{ corp_jobs_completed|default:0 }} {% trans "Completed" %}

{% trans "Use director industry tokens to watch factory throughput in real time." %}

{% trans "Active corporations" %}

    {% for corp in corporation_overview.corporations|slice:":4" %}
  • {{ corp.name }} {{ corp.jobs.active|default:0 }}
  • {% empty %}
  • {% trans "No corporate industry jobs detected yet." %}
  • {% endfor %}
{% else %}

{% trans "Authorize a director industry token to populate corporate jobs." %}

{% trans "Manage ESI tokens" %}
{% endif %}

{% trans "Corporation collaboration" %}

{% trans "Set copy sharing scopes per corporation and verify that every hangar has the right visibility." %}

{% trans "Corporation sharing" %} {% if corporation_share_summary and corporation_share_summary.total %}

{% blocktrans with enabled=corporation_share_summary.enabled total=corporation_share_summary.total %}{{ enabled }} of {{ total }} corporations sharing copies{% endblocktrans %}

{% else %}

{% trans "Authorize a director token to share corporate hangars and industry activity." %}

{% endif %}

{% trans "Use the controls below to align every corporation's sharing scope." %}

{% if can_manage_corporate_assets %}
{% trans "Corporate blueprint sharing stays per corporation. Review each corporation's status in the preferences panel below before enabling copy queues." %}
{% endif %}
{% if corporation_share_controls %}
{% for corp in corporation_share_controls %}
{{ corp.corporation_name }}

{{ corp.status_hint }}

  • {% if corp.has_blueprint_scope %} {% blocktrans with name=corp.blueprint_character|default:_("Director token") %}Blueprint token: {{ name }}{% endblocktrans %} {% else %} {% trans "Blueprint token missing" %} {% endif %}
  • {% if corp.has_jobs_scope %} {% blocktrans with name=corp.jobs_character|default:_("Director token") %}Industry token: {{ name }}{% endblocktrans %} {% else %} {% trans "Industry token missing" %} {% endif %}
{{ corp.status_label }}
{% endfor %}
{% else %}

{% trans "No corporation tokens detected yet." %}

{% trans "Manage ESI tokens" %} {% endif %}
{% else %}
{% trans "You do not have permission to manage corporation copy sharing." %}
{% endif %}
{% endblock content %} {% block extra_javascript %} {% endblock extra_javascript %}