{% load static i18n recruitmentfilters %} {% trans "Application Tracking" %} {% now "Y-m-d" as now %}
{% include "generic/messages.html" %}
{% if candidate.converted %} {% endif %}
Profile

{{candidate.get_full_name|title}}

{% if check_candidate_self_tracking_rating %}
{% for i in "54321" %} {% endfor %}
{% endif %}
{{ candidate.recruitment_id.title }} / {{ candidate.stage_id.stage }}
{{ candidate.get_job_position }}
{% if candidate.hired or candidate.converted %} {% trans "Congratulation on your selection" %} {% elif candidate.canceled %} {% trans "You not selected" %} {% else %} {% trans "Application under review" %} {% endif %}

{% trans "Documents" %}

{% for document in candidate.candidatedocument_set.all %}
{{document.title}}
{{document.document_request_id.description|truncatechars:50}}
{% if document.document %} {% if document.status == "approved" %} {% trans "Approved" %} {% elif document.status == "rejected" %} {% trans "Rejected" %} {% else %} {% trans "Uploaded" %} {% endif %} {% else %} {% endif %}
{% empty %}
No documents
{% trans "No document requests found." %}
{% endfor %}

{% trans "Scheduled Interviews" %}

{% for interview in interviews %}
{% trans "Date" %}: {{ interview.interview_date }}
{% trans "Time" %}: {{ interview.interview_time }}
{% trans "Interviewer" %}:
{% for interviewer in interview.employee_id.all %} {{ interviewer }} {% endfor %}
{{ interview.description }}
{% if interview.completed %}
{% trans "Interview Completed" %}
{% elif interview.interview_date|date:"Y-m-d" < now %}
{% trans "Expired Interview" %}
{% elif interview.interview_date|date:"Y-m-d" > now %}
{% trans "Upcoming Interview" %}
{% elif interview.interview_date|date:"Y-m-d" == now and not interview.completed %}
{% trans "Interview Today" %}
{% endif %}
{% empty %}
{% trans "No interviews are scheduled for this candidate" %}
{% endfor %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}

{% trans "Notes" %}

{% csrf_token %}
{% for note in candidate.stagenote_set.all reversed %} {% if note.candidate_can_view %}
{% if request.user.is_authenticated or note.updated_user == candidate %} {% endif %}

{{ note.description }}

{{ note.updated_user }} @ {{note.stage_id }}
{% endif %} {% empty %}
No documents
{% trans "No notes have been added for this candidate." %}
{% endfor %}