{% extends "aa_recruitment/base.html" %} {% load i18n %} {% block recruitment_content %} {% include "aa_recruitment/includes/vetting_styles.html" %}
{% if main_character_id %} {% else %}
{% endif %}
{{ application.user.username }}
{{ application.get_status_display }}
{% if application.main_character_name %}{{ application.main_character_name }}{% endif %} {{ application.form.title }} {% if application.form.corporation %}{{ application.form.corporation.corporation_name }}{% endif %} {{ application.created_at|date:"Y-m-d H:i" }} UTC
{% if vetting_report %}
{% translate "Verdict" %} {{ vetting_report.get_verdict_display }}
{% translate "Risk score" %}
{{ vetting_report.risk_score }}/100
{% endif %}
{% include "aa_recruitment/includes/vetting_run.html" %}
{% translate "Status & Assignment" %}
{% csrf_token %}
{{ status_form.status }}
{{ status_form.reviewer }}
{{ status_form.note }}
{% if manual_checks %}
{% translate "Manual checks" %}
{{ manual_done }}/{{ manual_checks|length }}
{% for item in manual_checks %}
{% csrf_token %}
{{ item.text }}
{% if item.done %}
{{ item.done.by }} · {{ item.done.at }} UTC
{% endif %}
{% endfor %}
{% translate "Edit the list under Settings → General → Manual checks." %}
{% endif %}
{% translate "Audit Trail" %}
    {% for log in logs %}
  • {{ log.created_at|date:"Y-m-d H:i" }} UTC {% if log.actor %}{{ log.actor.username }}{% else %}{% translate "System" %}{% endif %}: {{ log.action }}
  • {% empty %}
  • {% translate "No audit logs recorded." %}
  • {% endfor %}
{% if discord_matches %}
{% translate "Discord Intel Mentions Detected!" %}
{% blocktranslate count counter=discord_matches|length %}Found {{ counter }} archived Discord message mentioning this candidate or their linked alts.{% plural %}Found {{ counter }} archived Discord messages mentioning this candidate or their linked alts.{% endblocktranslate %}
{% endif %}
{% translate "Findings" %} {{ vetting_findings|length }}
{% if vetting_findings %}
{% for sev, n in severity_counts %}{% if n %} {% endif %}{% endfor %}
{% endif %}
{% if vetting_findings %}
{% for f in vetting_findings %}
{% if f.explanation and f.explanation != f.evidence %}
{{ f.explanation }}
{% endif %} {% translate "Evidence" %}
{{ f.evidence }}
{% if f.suggested_question %}{% translate "Ask the applicant" %}
"{{ f.suggested_question }}"
{% endif %} {% if f.recruiter_action %}{% translate "Recruiter action" %}
{{ f.recruiter_action }}
{% endif %}
{% if f.section in section_keys or f.section == "evewho" or f.section == "zkill" or f.section == "appqa" or f.section == "discord" and discord_matches %} {% endif %} {% if f.section == "datasources" or f.section == "wallet" %} {% translate "Check data sources" %} {% endif %} {% if perms.aa_recruitment.manage_recruitment %} {% translate "Check settings" %} {% endif %}
{% endfor %}

{% translate "Nothing to act on: only informational findings. Choose 'All' to see them." %}

{% elif not vetting_report %}

{% translate "The vetting has not produced a report yet, so there are no findings to show." %}

{% else %}

{% translate "No security risk flags detected for this candidate." %}

{% endif %}
{% if zkill_data %}
{% translate "zKillboard Combat Intelligence" %}
{{ zkill_data.danger_ratio|default:0 }}% {% translate "Danger Rating" %}
{% translate "Kills / Losses" %} {{ zkill_data.total_kills|default:0 }} / {{ zkill_data.total_losses|default:0 }}
{% translate "Fleet Ratio" %} {{ zkill_data.gang_ratio|default:0 }}% ~{{ zkill_data.avg_gang_size|floatformat:0 }} {% translate "Pilots" %}
{% translate "FC Rating" %} {% if zkill_data.fc %} {{ zkill_data.fc.score|default:0 }}/100 {{ zkill_data.fc.level|title|default:"Active" }} {% else %} - {% endif %}
{% translate "Favorite Ships" %} {% if zkill_data.top_ships %} {{ zkill_data.top_ships.0.name }} {{ zkill_data.top_ships.0.kills }} kills / {{ zkill_data.top_ships.0.losses }} losses {% else %} - {% endif %}
{% if heatmap %}
{% translate "Combat Activity Heatmap (Day x UTC Hour)" %} ({{ zkill_data.activity_source|default:_("zKillboard recent activity") }})
{% translate "Dark = Inactive • Cyan = Peak Combat" %}
{% for h in heatmap.hours_header %} {% endfor %} {% for row in heatmap.rows %} {% for cell in row.hours %} {% endfor %} {% endfor %}
{{ h }}{% translate "Total" %}
{{ row.day_short }}
{% if cell.count > 0 %}{{ cell.count }}{% endif %}
{{ row.day_total }}
{{ heatmap.peak_window }} ({{ heatmap.window_pct }}%) {{ heatmap.peak_day }} ({{ heatmap.peak_day_count }}) {{ heatmap.tz_name }}
{% translate "Less" %}
{% translate "More" %}
{% endif %}
{% endif %}
{% translate "Audit details" %} {% translate "the data behind the findings; open a part to see its tables" %}
{% include "aa_recruitment/includes/audit_sections.html" with sections=audit_sections %}
{% translate "Corporation Membership History (EVEWho / ESI)" %}
{% if characters.0.character.character_id or application.main_character_name %} {% with cid=characters.0.character.character_id %} {% translate "EVEWho.com" %} {% endwith %} {% endif %} {{ corp_history|length }} {% translate "Records" %}
{% if corp_history %}
{% for c in corp_history %} {% endfor %}
# {% translate "Corporation" %} {% translate "Alliance" %} {% translate "Joined (UTC)" %} {% translate "Left (UTC)" %} {% translate "Duration" %} {% translate "Intel" %}
{{ forloop.counter }}
{{ c.corporation_name }}
{{ c.corporation_name }} {% if c.corporation_ticker %} [{{ c.corporation_ticker }}] {% endif %}
{% if c.is_current %} {% translate "Current Corp" %} {% endif %} {% if c.is_npc %} {% translate "NPC Corp" %} {% endif %} {% if c.is_deleted %} {% translate "Closed / Dissolved" %} {% endif %} {% if c.is_hostile %} {% translate "Hostile Entity" %} {% endif %}
{% if c.alliance_id and c.alliance_name %}
{{ c.alliance_name }} {{ c.alliance_name }}
{% else %} {% translate "None" %} {% endif %}
{{ c.start_date }} {% if c.is_current %} {% translate "Present" %} {% else %} {{ c.end_date }} {% endif %} {{ c.duration_str }}
{% else %}

{% translate "No corporation history records found for this candidate." %}

{% endif %}
{% translate "Questionnaire Responses" %}
{{ answers|length }}
{% if answers %}
{% for ans in answers %} {% endfor %}
# {% translate "Question" %} {% translate "Candidate Response" %}
{{ forloop.counter }} {{ ans.question.question_text }} {% if ans.question.help_text %}
{{ ans.question.help_text }}
{% endif %}
{% if ans.answer_text == 'True' %} {% translate "Yes" %} {% elif ans.answer_text == 'False' %} {% translate "No" %} {% elif ans.answer_text %} {{ ans.answer_text }} {% else %} {% translate "No answer provided" %} {% endif %}
{% else %}
{% translate "No questionnaire questions were filled out for this application." %}
{% endif %}
{% translate "Candidate Profile & Auth Information" %}
{% translate "Auth Username" %}: {{ application.user.username }}
{% translate "Email Address" %}: {{ application.user.email|default:_("None") }}
{% translate "Date Registered" %}: {{ application.user.date_joined|date:"Y-m-d" }}
{% translate "Primary Character" %}: {{ application.main_character_name|default:_("Unknown") }}
{% translate "Total Linked Characters" %}: {{ characters|length }}
{% translate "Assigned Reviewer" %}: {{ application.reviewer.username|default:_("Unassigned") }}
{% translate "Linked EVE Characters on Alliance Auth" %} ({{ characters|length }})
{% if characters %}
{% for c_owner in characters %} {% endfor %}
{% translate "Character" %} {% translate "Corporation" %} {% translate "Alliance" %} {% translate "Transfer" %}
{{ c_owner.character.character_name }} {% if c_owner.character.corporation_name %} {{ c_owner.character.corporation_name }} {% else %} - {% endif %} {% if c_owner.character.alliance_name %} {{ c_owner.character.alliance_name }} {% else %} - {% endif %} {% if not c_owner.transfer %} {% translate "not checked" %} {% elif c_owner.transfer.status == "none" or c_owner.transfer.status == "ingame_none" %} {% else %} {% endif %} {% if perms.aa_recruitment.manage_recruitment %}
{% csrf_token %}
{% translate "In-game: Show Info → Employment History → Character Transfers. Paste the lines, or type 'none' if there are none. Empty removes them." %}
{% endif %}
{% else %}

{% translate "No characters found on this Auth profile." %}

{% endif %}
{% if discord_matches %}
{% translate "Archived Discord Intel Findings" %}
{% translate "Messages matching applicant main character or linked alts across monitored Discord channels." %}
{{ discord_matches|length }} {% translate "Hits" %}
{% translate "Counter-Intelligence Assessment" %}: {% translate "Carefully review the message context below to determine whether mentions pertain to alliance blacklists, corporate theft, espionage, drama, or routine coordination." %}
{% for m in discord_matches %}
{{ m.channel_name }} {% if m.guild_name %} {{ m.guild_name }} {% endif %} {% translate "Matched" %}: {{ m.matched_name }}
{{ m.severity|upper }} {{ m.sent_at|date:"Y-m-d H:i" }} UTC {% if m.jump_url %} Discord {% endif %}
{{ m.author_name }} {% if m.author_id %} (ID: {{ m.author_id }}) {% endif %}
{{ m.highlighted_content }}
{% if m.attachments %}
{% translate "Attachments" %}:
    {% for att in m.attachments %}
  • {{ att }}
  • {% endfor %}
{% endif %} {% if m.mentions %}
{% translate "User Mentions" %}: {{ m.mentions|join:", " }}
{% endif %}
Message Snowflake: {{ m.discord_message_id }}
{% endfor %}
{% endif %}
{% translate "Recruitment Notes & Interview History" %}
{% for c in comments %}
{{ c.author.username }} {% if c.is_internal %} {% translate "INTERNAL RECRUITER NOTE" %} {% else %} {% translate "CANDIDATE VISIBLE" %} {% endif %} {{ c.created_at|date:"Y-m-d H:i" }} UTC

{{ c.comment }}

{% empty %}

{% translate "No notes or interview responses recorded yet." %}

{% endfor %}
{% csrf_token %}
{{ comment_form.comment }}
{{ comment_form.is_internal }}
{% endblock recruitment_content %}