{% extends 'layout.html' %} {% block body %}

{{application.user.first_name}} {{application.user.last_name}}

{{application.city_country}}

{{application.bio_message|safe}}

{{application.user.first_name}}'s details:

Application Status

{% if application.status == 'under_review' %}

Under Review

{% elif application.status == 'submitted' %}

Pending Review

{% elif application.status == 'approved' %}

Approved!

{% elif application.status == 'rejected' %}

Rejected

{% else %} {{application.status}} {% endif %}

Submitted {{application.show_pretty_date('submission')}}.

{% if review %}

You {% if review.approved %} approved {% else %} rejected {% endif %} this candidate.


{% endif %}
{% if reviews %} {% for review in reviews%} {% endfor %} {% else %} {% endif %}
Reviewer Verdict
{% if review.reviewer.id == current_user.id %} {% endif %} {{review.reviewer.first_name}} {{review.reviewer.last_name}} {% if review.reviewer.id == current_user.id %} {% endif %} {% if review.approved %} {% else %} {% endif %}
Tsk tsk! Nobody reviewed this yet.
{% if not review %}
{% endif %}

Comments

{% for comment in application.comments %}

{{comment.pretty_creation_date}}

{{comment.user.first_name}} {{comment.user.last_name}}

{{comment.text}}


{% endfor %}
{{ comment_form.hidden_tag() }} {{ comment_form.text(class="form-controllo") }}
{% if current_user.has_role('admin') %} {% if not application.review_end_date %}

Final Approval
Final Rejection
{% endif %} {% endif %}
{% endblock %}