{% extends admin|yesno:"hrapps/admin/base.html,hrapps/main/base.html" %} {% load evelinks %} {% load hrtags %} {% block hrapps_content %}

View Application

Application Details
{{ application.status_label }}

{{ application.user.profile.main_character.character_name }}

Corporation
{{ application.form.corporation.corporation_name }}
Application Date
{{ application.created }}
Recruiter
{% if application.recruiter %} {{ application.recruiter.profile.main_character.character_name }} {% else %} Unclaimed {% endif %} {% if admin and perms.hrapps.claim_recruiter %} Claim {% endif %}
Reviewer
{% if application.reviewer %} {{ application.reviewer.profile.main_character.character_name }} {% else %} Unclaimed {% endif %} {% if admin and perms.hrapps.claim_reviewer %} Claim {% endif %}

{% if request.user == application.user and not admin and not application.status in final_states %} {% endif %} {% if admin and perms.hrapps.modify_status and not application.status in final_states %} {% endif %} {% if admin and perms.hrapps.manage_hrapps %} {# Default state is pending. Manage perms are required to return an in progress application to default state. #} {% endif %}
Characters
{% if corptools is not None %} {% endif %} {% if memberaudit is not None%} {% endif %} {% for character in characters %} {% if corptools is not None %} {% endif %} {% if memberaudit is not None %} {% endif %} {% endfor %}
CharacterCTMA
{{ character.character_name }} {% if character.character_name in corptools %} {% else %} {% endif %} {% if character.character_name in memberaudit %} {% else %} {% endif %}
Responses
{% for response in responses %}
{{ response.question }}
{% if response.allowUpdates and request.user == application.user and not admin and not application.is_closed %}
{% if response.allowMultiple and response.attachmentLimit == 0 %} {% include "hrapps/main/partials/view/upload_button.html" with question_id=forloop.counter multiple=response.allowMultiple attachLimit=response.attachmentLimit %} {% elif response.allowMultiple and attachments|filter_by_question_id:forloop.counter|length < response.attachmentLimit %} {% include "hrapps/main/partials/view/upload_button.html" with question_id=forloop.counter multiple=response.allowMultiple attachLimit=response.attachmentLimit %} {% elif not response.allowMultiple and attachments|filter_by_question_id:forloop.counter|length == 0 %} {% include "hrapps/main/partials/view/upload_button.html" with question_id=forloop.counter multiple=response.allowMultiple attachLimit=response.attachmentLimit %} {% endif %}
{% endif %} {% if response.has_attachments and admin and perms.hrapps.modify_status %}
{% csrf_token %} {% if response.allowUpdates %} {% else %} {% endif %}
{% endif %}
{% if response.answer_is_list %}
    {% for answer in response.answer %}
  • {{ answer }}
  • {% endfor %}
{% elif response.has_attachments %}
{% for attachment in attachments|filter_by_question_id:forloop.counter %} {% endfor %}
{% else %}

{{ response.answer|linebreaksbr|urlize }}

{% endif %}
{% endfor %}
{% if perms.hrapps.view_comment or perms.hrapps.create_comment %}
{% include "hrapps/shared/partials/view/comment_card.html" %}
{% endif %}
{% if not admin %} {% include "hrapps/main/partials/view/withdraw_confirm_modal.html" %} {% include "hrapps/main/partials/view/upload_offcanvas.html" %} {% elif admin %} {% include "hrapps/admin/partials/view/approve_confirm_modal.html" %} {% include "hrapps/admin/partials/view/pend_confirm_modal.html" %} {% include "hrapps/admin/partials/view/reject_confirm_modal.html" %} {% include "hrapps/admin/partials/view/review_confirm_modal.html" %} {% endif %} {% endblock %} {% block extra_javascript %} {% include "hrapps/bundles/lightbox-js.html" %} {% endblock %}