{% load i18n static %} {% include 'filter_tags.html' %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if data %}
{% trans "Candidate" %}
{% trans "Interviewer" %}
{% trans "Interview Date" %}
{% trans "Interview Time" %}
{% trans "Description" %}
{% trans "Status" %}
{% trans "Actions" %}
{% for interview in data %}
{{interview.candidate_id}}
{% for employee in interview.employee_id.all %}
Baby C.
{{employee.get_full_name|truncatechars:15}}
{% if perms.recruitment.change_interviewschedule or request.user.employee_get in interview.employee_id.all %} {% endif %}
{% endfor %} {{interview.employee_id.all|length}} {% trans "Interviewers" %}
{{interview.interview_date}}
{{interview.interview_time}}
{% if interview.description %} {{interview.description}} {% else %} {% trans "None" %} {% endif %}
{% if interview.completed %}
check_circle {% trans "Interview Completed" %}
{% elif interview.interview_date|date:"Y-m-d" < now|date:"Y-m-d" %}
dangerous {% trans "Expired Interview" %}
{% elif interview.interview_date|date:"Y-m-d" > now|date:"Y-m-d" %}
schedule {% trans "Upcoming Interview" %}
{% elif interview.interview_date|date:"Y-m-d" == now|date:"Y-m-d" and not interview.completed %}
today {% trans "Interview Today" %}
{% endif %}
{% if perms.recruitment.change_interviewschedule or request.user.employee_get in interview.employee_id.all %} {% endif %} {% if perms.recruitment.delete_interviewschedule %}
{% csrf_token %}
{% endif %}
{% endfor %}
{% trans "Page" %} {{ data.number }} {% trans "of" %} {{ data.paginator.num_pages }}.
{% else %}
groups
{% trans "No Interviews Found." %}
{% endif %}