{% extends 'layout.html' %} {% block page_title %}{{application.user.first_name}}'s BFCT Application{% endblock %} {% block body %}
{% if application.user.first_name %}

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

{% else %}

{{application.user.email}}

{% endif %}

{{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 %} {% if current_user.has_role('admin') %}
{% endif %}

Comments {% if application.comments %} {% for comment in application.comments %} {% if loop.first %}
({{ loop.length }})
{% endif %}

{{comment.pretty_creation_date}}

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


{{comment.text}}

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

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