{% 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 %}
{% comment %}
{% trans "Access Credentials" %}
{% trans "Share these credentials securely with the agency. They can use this information to log in and submit applications." %}
{% if access_link %} {% trans "View Access Links Details" %} {% endif %}
{% endcomment %}
{% trans "Submitted Applications" %} ({{ total_applications }})
{% if access_link %} {% trans "Preview Portal" %} {% endif %}
{% if applications %}
{% for application in applications %} {% endfor %}
{% trans "Application"%} {% trans "Contact" %} {% trans "Stage" %} {% trans "Submitted"%} {% trans "Actions" %}
{{ application.name }}
{{ application.email }}
{{ application.phone }}
{{ application.get_stage_display }}
{{application.email }}
{{ application.phone }}
{{application.get_stage_display }} {{ application.created_at|date:"M d, Y" }}
{% else %}
{% trans "No applications submitted yet" %}

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

{% endif %}
{% trans "Submission Progress" %}
{{ total_applications }}
{% trans "of" %} {{ assignment.max_candidates}}
{{ total_applications }}
/ {{ assignment.max_candidates }} {% trans "applications" %}
{% widthratio total_applications 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 %}