{% extends 'base.html' %} {% load static i18n %} {% block title %}- {{ job.title }} - ATS{% endblock %} {% block customCSS %} {% endblock %} {% block content %}

{% trans "Interview Management" %} - {{ job.title }}

{% trans "Candidates in Interview Stage:" %} {{ candidates|length }}

{% include 'jobs/partials/applicant_tracking.html' %}
{% if candidates %}
{# Use d-flex to align the entire contents (two forms and the separator) horizontally #}
{# Form 1: Status Update #}
{% csrf_token %} {# Select Input Group - No label needed for this one, so we just flex the select and button #}
{# Separator (Vertical Rule) - Aligns automatically at the bottom with align-items-end #}
{# Form 2: Schedule Interviews #}
{% endif %}
{% csrf_token %} {% for candidate in candidates %} {% endfor %}
{% if candidates %}
{% endif %}
{% trans "Name" %} {% trans "Contact" %} {% trans "Topic" %} {% trans "Duration" %} {% trans "Meeting Date" %} {% trans "Link" %} {% trans "Meeting Status" %} {% trans "Interview Result" %} {% trans "Actions" %}
{{ candidate.name }}
{{ candidate.email }}
{{ candidate.phone }}
{% if candidate.get_latest_meeting.topic %} {{ candidate.get_latest_meeting.topic }} {% else %} -- {% endif %}
{% if candidate.get_latest_meeting.duration %} {{ candidate.get_latest_meeting.duration }} {% trans _("Minutes") %} {% else %} -- {% endif %}
{% with latest_meeting=candidate.get_latest_meeting %} {% if latest_meeting %} {{ latest_meeting.start_time|date:"d-m-Y h:i A" }} {% else %} -- {% endif %} {% endwith %} {% with latest_meeting=candidate.get_latest_meeting %} {% if latest_meeting and latest_meeting.join_url %} join {% else %} -- {% endif %} {% endwith %} {{ latest_meeting.status }} {% with latest_meeting=candidate.get_latest_meeting %} {% if latest_meeting %} {% if latest_meeting.status == 'started' %} {% endif %} {{ latest_meeting.status|title }} {% else %} -- {% endif %} {% endwith %} {% if not candidate.interview_status %} {% else %} {% if candidate.interview_status %} {% else %} -- {% endif %} {% endif %} {% if candidate.get_latest_meeting %} {% else %} {% endif %}
{% if not candidates %} {% endif %}
{% endblock %} {% block customJS %} {% endblock %}