{% extends "fatanalysis/base.html" %} {% load i18n %} {% block fatanalysis_content %}

{% trans "Fleet Activity Tracking" %}

{% trans "Corporation fleet participation analysis and longitudinal metrics" %}
{% trans "Recorded Periods" %} {% if perms.fatanalysis.manage_fatanalysis %} {% trans "Sync & Ingestion" %} {% endif %}
{% trans "Time Window:" %}
{% if periods %} {{ periods|length }} {% trans "monthly periods selected" %} {% else %} {% trans "No periods recorded" %} {% endif %}
{% trans "Total FATs" %}
{{ total_fats|default:0 }}
{% trans "Active Pilots" %}
{{ active_pilots_count|default:0 }}
{% trans "Total Tracked" %}
{{ total_pilots_count|default:0 }}
{% trans "Active Participation" %}
{% if total_pilots_count > 0 %} {% widthratio active_pilots_count total_pilots_count 100 %}% {% else %} 0% {% endif %}
{% trans "Fleet Activity Progression Over Time" %} {{ periods|length }} {% trans "Periods" %}
{% if periods %}
{% else %}

{% trans "No period data available for this time window." %}

{% endif %}
{% trans "Ship Types Breakdown" %}
{% if ship_type_distribution or fat_type_distribution %}
{% else %}

{% trans "No ship type breakdown available." %}

{% endif %}
{% trans "FATs by Time" %} {% trans "EVE Time (UTC)" %}
{% if has_time_data %}
{% else %}

{% trans "No hourly time distribution data available for this time window." %}

{% endif %}
{% trans "FATs per Day" %} {% trans "Weekday" %}
{% if has_weekday_data %}
{% else %}

{% trans "No weekday distribution data available for this time window." %}

{% endif %}
{% trans "Pilot Participation Matrix" %} {{ pilots|length }} {% trans "Pilots" %}
{% for period in periods %} {% endfor %} {% for header in dynamic_headers %} {% endfor %} {% for pilot in pilots %} {% for val in pilot.period_values %} {% endfor %} {% for val in pilot.dynamic_values %} {% endfor %} {% endfor %}
{% trans "Pilot Name" %} {% trans "Main Character" %} {% trans "Type" %} {% trans "Total FATs" %} {% trans "Avg / Month" %}{{ period.year }}-{{ period.month|stringformat:"02d" }}{{ header }}
{{ pilot.character_name }} {{ pilot.main_character_name|default:"-" }} {% if pilot.is_main %} {% trans "Main" %} {% else %} {% trans "Alt" %} {% endif %} {% if pilot.total_fats > 0 %} {{ pilot.total_fats }} {% else %} 0 {% endif %} {{ pilot.avg_fats_per_month }} {% if val > 0 %} {{ val }} {% else %} - {% endif %} {% if val > 0 %} {{ val }} {% else %} - {% endif %}
{% endblock %} {% block extra_javascript %} {{ block.super }} {% endblock %}