{% extends "aa_recruitment/portal_base.html" %} {% load i18n %} {% block portal_content %}
{% translate "Application" %} #{{ application.pk }} — {{ application.form.title }}
{% if application.status == 'pending' %} {{ application.get_status_display }} {% elif application.status == 'in_progress' %} {{ application.get_status_display }} {% elif application.status == 'accepted' %} {{ application.get_status_display }} {% elif application.status == 'rejected' %} {{ application.get_status_display }} {% else %} {{ application.get_status_display }} {% endif %}
{% translate "Applicant" %}: {{ application.user.username }}
{% translate "Main Character" %}: {{ application.main_character_name|default:_("Not set") }}
{% translate "Submitted at" %}: {{ application.created_at|date:"Y-m-d H:i" }} UTC
{% translate "Assigned Reviewer" %}: {{ application.reviewer.username|default:_("Awaiting assignment") }}
{% if application.is_open and application.user == request.user %}
{% csrf_token %}
{% endif %}
{% translate "Your Submitted Answers" %}
{{ answers|length }}
{% if answers %}
{% for ans in answers %} {% endfor %}
# {% translate "Question" %} {% translate "Your Answer" %}
{{ forloop.counter }} {{ ans.question.question_text }} {% 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 specific questions were filled out for this form." %}

{% endif %}
{% translate "Messages & Questions from Recruitment" %}
{% for comment in comments %}
{{ comment.author.username }} {% if comment.author != application.user %} {% translate "Recruitment Team" %} {% endif %} {{ comment.created_at|date:"Y-m-d H:i" }} UTC

{{ comment.comment }}

{% empty %}

{% translate "No messages exchanged on this application yet." %}

{% endfor %}
{% if application.is_open or is_recruiter %}
{% csrf_token %}
{{ comment_form.comment }}
{% endif %}
{% endblock portal_content %}