{% load static %}{% load i18n %} {% load horillafilters %} {% now "Y-m-d" as now %}
{{request.user.employee_get.get_full_name}}'s {% trans "Scheduled Interviews" %}
    {% for interview in interviews %}
  1. {% if perms.recruitment.add_interview or request.user|is_stagemanager %} {% endif %}
    {% 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 %}
  2. {% empty %}
    {% trans "No interviews are scheduled for this candidate" %}
    {% endfor %}