{% extends "aa_recruitment/base.html" %} {% load i18n %} {% block recruitment_content %}
{% translate "Recruitment Application Forms" %}
{% translate "Configure recruitment questionnaires and public availability directly from the frontend." %}
{% translate "Create New Form" %}
{% if forms %}
{% for f in forms %} {% endfor %}
{% translate "Status" %} {% translate "Title & Corporation" %} {% translate "Identifier (Slug)" %} {% translate "Reviewer Group" %} {% translate "Questions" %} {% translate "Applications" %} {% translate "Actions" %}
{% if f.is_active %} {% translate "Open (Active)" %} {% else %} {% translate "Closed (Inactive)" %} {% endif %}
{{ f.title }}
{% if f.corporation %} {{ f.corporation.corporation_name }} {% else %} {% translate "Alliance-wide / Generic" %} {% endif %}
{{ f.slug }} {% if f.reviewers_group %} {{ f.reviewers_group.name }} {% else %} {% translate "All Recruiters" %} {% endif %} {{ f.num_questions }} {{ f.num_applications }}
{% translate "Questions" %}
{% csrf_token %}
{% if f.num_applications == 0 %}
{% csrf_token %}
{% endif %}
{% else %}

{% translate "No recruitment application forms configured yet." %}

{% translate "Create First Form" %}
{% endif %}
{% if perms.aa_recruitment.admin_recruitment %}
{% translate "Portal & Menu Configuration" %}
{% translate "Manage navigation sidebar labels and candidate workflow settings directly from the frontend." %}
{% csrf_token %}
{% translate "Navigation Menu Titles" %}
{{ settings_form.portal_menu_title }}
{{ settings_form.portal_menu_title.help_text }}
{{ settings_form.recruiter_menu_title }}
{{ settings_form.recruiter_menu_title.help_text }}
{% translate "Application Policies" %}
{{ settings_form.allow_multiple_active }}
{{ settings_form.allow_multiple_active.help_text }}
{{ settings_form.notify_on_status_change }}
{{ settings_form.notify_on_status_change.help_text }}
{% translate "Discord Messages" %}
{{ settings_form.discord_language }}
{{ settings_form.discord_language.help_text }}
{% translate "Global Discord Intel Integration" %}
{{ settings_form.discord_user_token }}
{{ settings_form.discord_user_token.help_text }}
{% translate "Current Menu Preview" %}

{% translate "Here is how the recruitment links appear in the Alliance Auth sidebar navigation:" %}

{{ config.portal_menu_title|default:"Apply" }}
{% translate "Applicants" %}
{{ config.recruiter_menu_title|default:"Recruitment" }}
{% translate "Recruiters" %}
{% translate "Changes take effect immediately on the next page refresh without requiring a web service restart." %}
{% endif %} {% if perms.aa_recruitment.admin_recruitment %}
{% translate "Global Discord User Token" %}
{% translate "Default authorization token used to authenticate with Discord API and archive messages from all monitored channels." %}
{% if config.discord_user_token %} {% translate "Global Token Configured" %} {% else %} {% translate "No Global Token Configured" %} {% endif %}
{% csrf_token %}
{% translate "Required to read messages from external servers without bots. Use a dedicated alt account with read permissions." %}
{% translate "Monitored Discord Intel Channels" %}
{% translate "Configure external Discord channels to periodically archive and scan for candidate mentions during security vetting." %}
{% translate "Add Discord Channel" %}
{% if discord_channels %}
{% for ch in discord_channels %} {% if ch.last_error %} {% endif %} {% endfor %}
{% translate "Status" %} {% translate "Channel & Server" %} {% translate "Channel ID" %} {% translate "Auth Token" %} {% translate "Interval" %} {% translate "Last Sync" %} {% translate "Archived Msgs" %} {% translate "Risk Severity" %} {% translate "Actions" %}
{% if ch.is_active %} {% translate "Active" %} {% else %} {% translate "Paused" %} {% endif %} {% if ch.last_error %} {% endif %}
{{ ch.name }}
{% if ch.guild_name %} {{ ch.guild_name }} {% endif %}
{{ ch.channel_id }} {% if ch.user_token %} {% translate "Override" %} {% elif config.discord_user_token %} {% translate "Global" %} {% else %} {% translate "No Token" %} {% endif %} {{ ch.sync_interval_minutes }}m {% if ch.last_synced_at %} {{ ch.last_synced_at|date:"Y-m-d H:i" }} {% else %} {% translate "Never synced" %} {% endif %} {{ ch.total_messages_stored }} {{ ch.get_default_severity_display|upper }}
{% csrf_token %}
{% csrf_token %}
{% translate "Last Sync Error" %}: {{ ch.last_error }}
{% else %}
{% translate "No Monitored Discord Intel Channels" %}

{% translate "Add internal or external Discord channels (e.g. alliance blacklists, coalition intel) to automatically archive messages and scan for applicant character mentions during security audits." %}

{% translate "Add First Discord Channel" %}
{% endif %}
{% endif %}
{% endblock recruitment_content %} {% block extra_javascript %} {{ block.super }} {% endblock extra_javascript %}