{% extends "aa_recruitment/base.html" %} {% load i18n %} {% block extra_page_css %} {% endblock extra_page_css %} {% block recruitment_content %} {% if not report.settings.corporation_id %}
{% translate "No corporation is set for activity tracking. Choose it under Member Activity → Settings." %}
{% endif %} {% if fat_page_mode %} {% load static aa_recruitment_version %}
{% if fat_page %} {% blocktranslate with at=fat_page.at_dt|date:"Y-m-d H:i" by=fat_page.by first=fat_page.months.0 last=fat_page.months|last fats=fat_page.fats matched=fat_page.matched members=fat_page.members %}FATs from the Fat Analysis page, read by {{ by }}'s browser at {{ at }} UTC: {{ first }} – {{ last }}, {{ fats }} FATs, {{ matched }} of {{ members }} members on the page.{% endblocktranslate %} {% if fat_page.unmatched %}{% blocktranslate count n=fat_page.unmatched|length %}{{ n }} pilot not matched to a member{% plural %}{{ n }} pilots not matched to a member{% endblocktranslate %}{% endif %} {% else %} {% translate "FATs come from the Fat Analysis page, read by your browser. They have not been read yet." %} {% endif %}
{{ fat_sync_config|json_script:"fat-sync-config" }} {% elif fat_source == "init" %}
{% if not init_status %} {% translate "FATs have not been read from the INIT server yet." %} {% elif init_status.ok %} {% blocktranslate with at=init_status.at_dt|date:"Y-m-d H:i" first=init_status.months.0 last=init_status.months|last fats=init_status.fats matched=init_status.matched members=init_status.members %}FATs from the INIT server, read at {{ at }} UTC: {{ first }} – {{ last }}, {{ fats }} FATs, {{ matched }} of {{ members }} members.{% endblocktranslate %} {% else %} {% translate "Reading FATs from the INIT server failed" %}: {{ init_status.error }} {% translate "The FATs below are the last ones read. Check the URL and login under Settings → General → FATs." %} {% endif %}
{% csrf_token %}
{% elif not fat_source %}
{% translate "No FAT source found. Install aFAT, or point AA_RECRUITMENT_FAT_PROVIDER to a function (see README)." %}
{% endif %} {% if report.leave_error %}
{{ report.leave_error }}
{% endif %}

{% blocktranslate with first=report.window.0|date:"M Y" last=report.window|last|date:"M Y" %}Judged on full months only: {{ first }} – {{ last }}. The running month is shown lighter and never counts against anyone.{% endblocktranslate %}

{% if can_update %}
{% csrf_token %}
{% endif %}
{% translate "VIPs (INIT rule 1)" %}
{{ report.vips }} / {{ report.vip_allowed }}
{% if report.vip_over %}{% translate "Over the limit" %}{% else %}{% translate "Within limit" %}{% endif %} {% blocktranslate count mains=report.mains %}{{ mains }} main{% plural %}{{ mains }} mains{% endblocktranslate %} · {% if report.mains <= 50 %}{% translate "3 allowed up to 50 mains" %}{% else %}{% translate "5% of mains, rounded up" %}{% endif %}
{% translate "Long-term inactive (INIT rule 3)" %}
{{ report.below_six|length }}
{% blocktranslate with n=report.settings.fat_min_180 %}fewer than {{ n }} FATs in the last 6 full months · VIPs left out · leave does not exempt{% endblocktranslate %}
{% translate "Dropping below soon / not 6 months yet" %}
{{ report.dropping_soon|length }} / {{ report.not_yet|length }}
{% translate "below by the end of next month without new FATs · joined during the window" %}

{% translate "Long-term inactive" %} {{ report.below_six|length }}

{% translate "INIT asks corps to remove these members at least once per quarter; they can re-join when active again." %}

{% include "aa_recruitment/includes/activity_table.html" with rows=report.below_six empty=_("Nobody is below the 6-month minimum.") %}

{% translate "Dropping below soon" %} {{ report.dropping_soon|length }}

{% translate "Still compliant now, but below the 6-month minimum by the end of this month or next month if they join no more fleets. A good moment for a friendly check-in." %}

{% include "aa_recruitment/includes/activity_table.html" with rows=report.dropping_soon empty=_("Nobody is about to drop below the minimum.") %}

{% translate "Below INIT 90 days" %} {{ report.below_ninety|length }}

{% blocktranslate with n=report.settings.fat_min_90 %}Fewer than {{ n }} FATs over the last 3 full months, without new members and members on leave.{% endblocktranslate %}

{% include "aa_recruitment/includes/activity_table.html" with rows=report.below_ninety empty=_("Everyone meets the 90-day minimum.") %}

{% translate "INIT rule 2 (Discord, Mumble and ghost compliance) is not checked here." %}

{% endblock recruitment_content %}