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

{{ assignment.agency.name }} - {{ assignment.job.title }}

{% trans "Assignment Details and Management" %}

{% trans "Back to Assignments" %} {% trans "Edit Assignment" %}
{% trans "Assignment Details" %}
{{ assignment.agency.name }}
{{ assignment.agency.contact_person }}
{{ assignment.job.title }}
{{ assignment.job.department }}
{{ assignment.get_status_display }}
{{ assignment.deadline_date|date:"Y-m-d H:i" }}
{% if assignment.is_expired %} {% trans "Expired" %} {% endif %}
{% if assignment.admin_notes %}
{{ assignment.admin_notes }}
{% endif %}
{% trans "Access Credentials" %}
{% trans "Share these credentials securely with the agency. They can use this information to log in and submit candidates." %}
{% trans "View Access Links Details" %}
{% trans "Submitted Candidates" %} ({{ total_candidates }})
{% if access_link %} {% trans "Preview Portal" %} {% endif %}
{% if candidates %}
{% for candidate in candidates %} {% endfor %}
{% trans "Name" %} {% trans "Contact" %} {% trans "Stage" %} {% trans "Submitted" %} {% trans "Actions" %}
{{ candidate.name }}
{{ candidate.email }}
{{ candidate.phone }}
{{ candidate.get_stage_display }}
{{ candidate.created_at|date:"Y-m-d H:i" }}
{% else %}
{% trans "No candidates submitted yet" %}

{% trans "Candidates will appear here once the agency submits them through their portal." %}

{% endif %}
{% trans "Submission Progress" %}
{% widthratio total_candidates assignment.max_candidates 100 as progress %} {{ progress|floatformat:0 }}%
{{ total_candidates }}
/ {{ assignment.max_candidates }} {% trans "candidates" %}
{% widthratio total_candidates assignment.max_candidates 100 as progress %}
{% trans "Actions" %}
{% trans "Send Message" %} {% if assignment.is_active and not assignment.is_expired %} {% endif %} {% trans "Edit Assignment" %}
{% if messages_ %}
{% trans "Recent Messages" %}
{% for message in messages_|slice:":6" %}
{{ message.subject }}
{{ message.created_at|date:"Y-m-d H:i" }}
{% trans "From" %}: {{ message.sender.get_full_name }}
{{ message.message|truncatewords:30 }}
{% if not message.is_read %} {% trans "New" %} {% endif %}
{% endfor %}
{% if messages_.count > 6 %} {% endif %}
{% endif %}
{% endblock %} {% block customJS %} {% endblock %}