{% extends 'base.html' %} {% load static i18n %} {% load widget_tweaks %} {% block customCSS %} {% endblock %} {% block content %}
{# --- TOP BAR --- #}
{% trans "Back to Meetings" %}
{% trans "Edit Meeting" %}
{% csrf_token %}
{# --- MAIN TITLE --- #}

{{ meeting.topic|default:"[Meeting Topic]" }} {{ interview.get_status_display|default:"Scheduled" }}

{# --- INTERVIEW & CONNECTION CARDS --- #}
{# Interview Detail #}

{% trans "Interview Detail" %}

{% trans "Job Title" %}:
{{ job.title|default:"N/A" }}
{% trans "Candidate Name" %}:
{{ candidate.full_name|default:"N/A" }}
{% trans "Candidate Email" %}:
{{ candidate.email|default:"N/A" }}
{% trans "Job Type" %}:
{{ job.job_type|default:"N/A" }}
{% if candidate.belong_to_agency %}
{% trans "Agency" %}:
{{ candidate.hiring_agency.name|default:"N/A" }}
{% endif %}
{# Connection Details #}

{% trans "Connection Details" %}

{% trans "Date & Time" %}:
{{ interview.interview_date }} {{ interview.interview_time }} ({{ meeting.timezone }})
{% trans "Duration" %}:
{% if meeting.location_type == "Remote" %} {{ meeting.zoommeetingdetails.duration|default:"N/A" }} {% elif meeting.location_type == "Onsite" %} {{ meeting.onsitelocationdetails.duration|default:"N/A" }} {% else %} N/A {% endif %} {% trans "minutes" %}
{% if meeting.location_type == "Remote" %} {% with zoom=meeting.zoommeetingdetails %}
{% trans "Meeting ID" %}:
{{ zoom.meeting_id|default:"N/A" }}
{% trans "Host Email" %}:
{{ zoom.host_email|default:"N/A" }}
{% if meeting.details_url %}
{% trans "Copied!" %}
{% trans "Join URL" %}: {{ meeting.details_url }}
{% endif %} {% endwith %} {% elif meeting.location_type == "Onsite" %} {% with onsite=meeting.onsitelocationdetails %}
{% trans "Address" %}:
{{ onsite.physical_address|default:"N/A" }}
{% trans "Room" %}:
{{ onsite.room_number|default:"TBD" }}
{% endwith %} {% endif %}
{# --- PARTICIPANTS --- #} {% comment %}

{% trans "Assigned Participants" %}

{% for participant in external_participants %} {% endfor %} {% for user in system_participants %} {% endfor %}
{% trans "Name" %} {% trans "Role" %} {% trans "Email" %} {% trans "Phone" %} {% trans "Type" %}
{{ participant.name }} {{ participant.designation|default:"Participant" }} {{ participant.email|default:"N/A" }} {{ participant.phone|default:"N/A" }} {% trans "External" %}
{{ user.get_full_name|default:user.username }} Admin {{ user.email|default:"N/A" }} {{ user.phone|default:"N/A" }} {% trans "System User" %}
{% endcomment %} {# --- COMMENTS --- #}
{% trans "Comments" %} ({{ interview.notes.count }})
{% for note in interview.notes.all|dictsortreversed:"created_at" %}
{% if note.author == user or user.is_staff %}
{% csrf_token %}
{% endif %}

{{ note.content|linebreaksbr }}

{% empty %}

{% trans "No comments yet. Be the first to comment!" %}

{% endfor %}

{% trans "Add a New Comment" %}
{% csrf_token %}
{# MODALS #} {% endblock %} {% block customJS %} {% endblock %}