{% extends 'hostile/base.html' %} {% load i18n humanize %} {% block details %}

{% translate "Hostile Structures Registry" %}

{% translate "Tracked hostile citadels, engineering complexes, refineries, and POSes." %}

{% for struct in structures %} {% empty %} {% endfor %}
{% translate "Name" %} {% translate "Type" %} {% translate "Solar System" %} {% translate "Owner" %} {% translate "Vulnerability" %} {% translate "Quantum Core" %} {% translate "State" %} {% translate "Verified" %} {% translate "Last Updated" %} {% translate "Actions" %}
{{ struct.name }} {% if struct.location_details %}
{{ struct.location_details }}
{% endif %}
{% if struct.structure_type %} {{ struct.structure_type.name }} {% else %} Structure {% endif %} {{ struct.solar_system.name|default:"Unknown" }} {% if struct.alliance %} {{ struct.alliance.alliance_name }} {% elif struct.corporation %} {{ struct.corporation.corporation_name }} {% else %}
{{ struct.owner_name }}
{% endif %} {% if struct.owner_ticker %} [{{ struct.owner_ticker }}] {% endif %}
{% if struct.vulnerability_window %} {{ struct.vulnerability_window }} {% elif struct.vulnerability_hour is not None %} {{ struct.vulnerability_hour }}:00 UTC {% else %} {% translate "Unknown" %} {% endif %} {% if struct.core_status == "FITTED" %} Fitted {% elif struct.core_status == "UNFITTED" %} No Core {% else %} Unknown {% endif %} {% if struct.state == "ONLINE" %} Online {% elif struct.state == "LOW_POWER" %} Low Power {% elif struct.state == "OFFLINE" %} Offline {% elif struct.state == "ABANDONED" %} Abandoned {% elif struct.state == "ANCHORING" %} Anchoring {% elif struct.state == "UNANCHORING" %} Unanchoring {% elif struct.state == "ARMOR" or struct.state == "HULL" or struct.state == "REINFORCED" %} {{ struct.get_state_display }} {% elif struct.state == "DESTROYED" %} Destroyed {% else %} {{ struct.state }} {% endif %} {% if struct.is_verified %} Verified {% else %} Unverified {% endif %} {{ struct.updated_at|naturaltime }} {% translate "Calc" %} {% if perms.hostile.manage_intel or struct.created_by == request.user %} {% translate "Edit" %} {% endif %} {% if perms.hostile.manage_intel %} {% endif %} {% if perms.hostile.manage_intel and not struct.is_verified %} {% endif %}

{% translate "No structures recorded yet. Add structures manually or use the universal Smart Ingest button." %}

{% block extra_javascript %} {{ block.super }} {% endblock %} {% endblock %}