{% extends "base.html" %} {% load i18n static %} {% block title %}{{ job.title }} - University ATS{% endblock %} {% block customCSS %} {% endblock %} {% block content %}
{# LEFT COLUMN: JOB DETAILS WITH TABS #}
{# HEADER SECTION #}

{{ job.title }}

{% trans "JOB ID: "%}{{ job.internal_job_id }}
{% if job.status == "ACTIVE" %} {% elif job.status == "DRAFT" %} {% elif job.status == "CLOSED" %} {% elif job.status == "CANCELLED" %} {% elif job.status == "ARCHIVED" %} {% else %} {% endif %} {{ job.get_status_display }}
{# LEFT TABS NAVIGATION #}
{# TAB 1 CONTENT: CORE DETAILS #}
{% trans "Administrative & Location" %}
{% trans "Department:" %} {{ job.department|default:"N/A" }}
{% trans "Position No:" %} {{ job.position_number|default:"N/A" }}
{% trans "Job Type:" %} {{ job.get_job_type_display }}
{% trans "Workplace:" %} {{ job.get_workplace_type_display }}
{% trans "Location:" %} {{ job.get_location_display }}
{% trans "Created By:" %} {{ job.created_by|default:"N/A" }}
{% trans "Created At:" %} {{ job.created_at|default:"N/A" }}
{% trans "Updated At:" %} {{ job.updated_at|default:"N/A" }}
{% trans "Financial & Timeline" %}
{% if job.salary_range %}
{% trans "Salary:" %} {{ job.salary_range }}
{% endif %} {% if job.start_date %}
{% trans "Start Date:" %} {{ job.start_date }}
{% endif %} {% if job.application_deadline %}
{% trans "Deadline:" %} {{ job.application_deadline }} {% if job.is_expired %} {% trans "EXPIRED" %} {% endif %}
{% endif %}
{# TAB 2 CONTENT: DESCRIPTION & REQUIREMENTS #}
{% if job.description %}
{% trans "Job Description" %}
{{ job.description|safe }}
{% endif %} {% if job.qualifications %}
{% trans "Required Qualifications" %}
{{ job.qualifications|safe }}
{% endif %} {% if job.benefits %}
{% trans "Benefits" %}
{{ job.benefits|safe}}
{% endif %}
{# TAB 3 CONTENT: APPLICATION INSTRUCTIONS #} {% if job.application_instructions %}
{% trans "Application Instructions" %}
{{ job.application_instructions|safe }}
{% endif %}
{# FOOTER ACTIONS #}
{# RIGHT COLUMN: TABBED CARDS #}
{# New Card for Candidate Category Chart #}
{% trans "Candidate Categories & Scores" %}
{% trans "Applicant Tracking" %}
{% include 'jobs/partials/applicant_tracking.html' %}
{# RIGHT TABS NAVIGATION #}
{# TAB 1: APPLICANTS CONTENT #}
{% trans "Total Applicants" %} ({{ total_applicants }})
{% comment %} {% if total_applicants > 0 %}
{{ applied_count }}
{% trans "Applied" %}
{{ interview_count }}
{% trans "Interview" %}
{{ offer_count }}
{% trans "Offer" %}
{% endif %} {% endcomment %}
{# TAB 2: MANAGEMENT (LinkedIn & Forms) CONTENT #}
{# LinkedIn Integration (Content from old card) #} {# Applicant Form Management (Content from old card) #}
{% trans "Form Management" %}

{% trans "Manage the custom application forms associated with this job posting." %}

{% if not job.form_template %} {% trans "Create New Form Template" %} {% else %} {% trans "View Form Template" %} {% endif %}
{# TAB 3: INTERNAL INFO CONTENT #}
{% trans "LinkedIn Integration" %}
{% if job.posted_to_linkedin %}
{% trans "Posted successfully!" %}
{% if job.linkedin_post_url %} {% trans "View on LinkedIn" %} {% endif %} {% trans "Posted on:" %} {{ job.linkedin_posted_at|date:"M d, Y" }} {% else %}

{% trans "This job has not been posted to LinkedIn yet." %}

{% endif %}
{% csrf_token %}
{% if not request.session.linkedin_authenticated %} {% trans "You need to" %} {% trans "authenticate with LinkedIn" %} {% trans "first." %} {% endif %} {% if job.linkedin_post_status and 'ERROR' in job.linkedin_post_status %}
{% trans "Error:" %} {{ job.linkedin_post_status }}
{% endif %}
{% comment %} {# Applicant Form Management (Content from old card) #}
{% trans "Form Management" %}
{% endcomment %} {% comment %}

{% trans "Manage the custom application forms associated with this job posting." %}

{% endcomment %} {% comment %} {% trans "Create New Form" %} {% trans "View All Existing Forms" %} {% endcomment %} {% comment %} {% trans "Create Candidate" %} {% trans "Manage Tiers" %} {% endcomment %}
{# TAB 3: INTERNAL INFO CONTENT #}
{% trans "Internal Information" %}

{% trans "Internal Job ID:" %} {{ job.internal_job_id }}

{% trans "Created:" %} {{ job.created_at|date:"M d, Y" }}

{% trans "Last Updated:" %} {{ job.updated_at|date:"M d, Y" }}

{% if job.reporting_to %}

{% trans "Reports To:" %} {{ job.reporting_to }}

{% endif %}
{% include "jobs/partials/image_upload.html" %} {% endblock %} {% block customJS%} {% endblock %}