-
+
@@ -286,7 +286,7 @@
{{ template.updated_at|date:"M d, Y" }}
Add Comment
{% if 'HX-Request' in request.headers %}
- Cancel
+ Cancel
{% endif %}
diff --git a/templates/includes/comment_list.html b/templates/includes/comment_list.html
index 40e37ef..5cda9a5 100644
--- a/templates/includes/comment_list.html
+++ b/templates/includes/comment_list.html
@@ -3,7 +3,7 @@
diff --git a/templates/includes/edit_comment_form.html b/templates/includes/edit_comment_form.html
index a689514..6c50988 100644
--- a/templates/includes/edit_comment_form.html
+++ b/templates/includes/edit_comment_form.html
@@ -15,7 +15,7 @@
{% endif %}
- Update Comment
+ Update Comment
{% if 'HX-Request' in request.headers %}
Cancel
{% endif %}
diff --git a/templates/jobs/career.html b/templates/jobs/career.html
index 62768fc..c122663 100644
--- a/templates/jobs/career.html
+++ b/templates/jobs/career.html
@@ -248,7 +248,7 @@
{% trans 'Apply' %}
diff --git a/templates/jobs/create_job.html b/templates/jobs/create_job.html
index 51cf403..20fbe2f 100644
--- a/templates/jobs/create_job.html
+++ b/templates/jobs/create_job.html
@@ -117,28 +117,21 @@
-
+
{% trans "Job Title" %} *
{{ form.title }}
{% if form.title.errors %}
{{ form.title.errors }}
{% endif %}
-
+
{% trans "Job Type" %} *
{{ form.job_type }}
{% if form.job_type.errors %}
{{ form.job_type.errors }}
{% endif %}
-
-
-
-
{% trans "Department" %}
- {{ form.department }}
- {% if form.department.errors %}
{{ form.department.errors }}
{% endif %}
-
-
+
{% trans "Workplace Type" %} *
@@ -146,33 +139,18 @@
{% if form.workplace_type.errors %}
{{ form.workplace_type.errors }}
{% endif %}
-
-
-
-
-
- {# ================================================= #}
- {# SECTION 2: INTERNAL AND PROMOTION #}
- {# ================================================= #}
-
-
-
-
-
-
{% trans "Position Number" %}
- {{ form.position_number }}
- {% if form.position_number.errors %}
{{ form.position_number.errors }}
{% endif %}
+
{% trans "Application Deadline" %}*
+ {{ form.application_deadline }}
+ {% if form.application_deadline.errors %}
{{ form.application_deadline.errors }}
{% endif %}
-
{% trans "Reports To" %}
- {{ form.reporting_to }}
- {% if form.reporting_to.errors %}
{{ form.reporting_to.errors }}
{% endif %}
+
{% trans "Department" %}
+ {{ form.department }}
+ {% if form.department.errors %}
{{ form.department.errors }}
{% endif %}
@@ -189,72 +167,14 @@
{% if form.max_applications.errors %}
{{ form.max_applications.errors }}
{% endif %}
-
-
-
-
-
{% trans "Hashtags (For Promotion/Search on Linkedin)" %}
- {{ form.hash_tags }}
- {% if form.hash_tags.errors %}
{{ form.hash_tags.errors }}
{% endif %}
-
{% trans "Comma-separated list of hashtags, e.g., #hiring, #professor" %}
-
-
- {# ================================================= #}
- {# SECTION 3: LOCATION AND DATES #}
- {# ================================================= #}
+
-
-
-
-
-
-
-
{% trans "City" %}
- {{ form.location_city }}
- {% if form.location_city.errors %}
{{ form.location_city.errors }}
{% endif %}
-
-
-
-
-
{% trans "State/Province" %}
- {{ form.location_state }}
- {% if form.location_state.errors %}
{{ form.location_state.errors }}
{% endif %}
-
-
-
-
-
{% trans "Country" %}
- {{ form.location_country }}
- {% if form.location_country.errors %}
{{ form.location_country.errors }}
{% endif %}
-
-
-
-
-
-
{% trans "Application Deadline" %}*
- {{ form.application_deadline }}
- {% if form.application_deadline.errors %}
{{ form.application_deadline.errors }}
{% endif %}
-
-
-
-
-
-
{% trans "Salary Range" %}
- {{ form.salary_range }}
- {% if form.salary_range.errors %}
{{ form.salary_range.errors }}
{% endif %}
-
-
-
-
-
-
+
{# ================================================= #}
{# SECTION 4: JOB CONTENT (CKEDITOR 5 Fields) #}
{# ================================================= #}
@@ -313,8 +233,90 @@
+ {# ================================================= #}
+ {# SECTION 2: INTERNAL AND PROMOTION #}
+ {# ================================================= #}
+
+
+
+
+
+
+
+
{% trans "Position Number" %}
+ {{ form.position_number }}
+ {% if form.position_number.errors %}
{{ form.position_number.errors }}
{% endif %}
+
+
+
+
+
{% trans "Reports To" %}
+ {{ form.reporting_to }}
+ {% if form.reporting_to.errors %}
{{ form.reporting_to.errors }}
{% endif %}
+
+
+
+
+
+
{% trans "Hashtags (For Promotion/Search on Linkedin)" %}
+ {{ form.hash_tags }}
+ {% if form.hash_tags.errors %}
{{ form.hash_tags.errors }}
{% endif %}
+
{% trans "Comma-separated list of hashtags, e.g., #hiring, #professor" %}
+
+
+
+
+
+
+ {# ================================================= #}
+ {# SECTION 3: LOCATION AND Salary #}
+ {# ================================================= #}
+
+
+
+
+
+
+
+
{% trans "City" %}
+ {{ form.location_city }}
+ {% if form.location_city.errors %}
{{ form.location_city.errors }}
{% endif %}
+
+
+
+
+
{% trans "State/Province" %}
+ {{ form.location_state }}
+ {% if form.location_state.errors %}
{{ form.location_state.errors }}
{% endif %}
+
+
+
+
+
{% trans "Country" %}
+ {{ form.location_country }}
+ {% if form.location_country.errors %}
{{ form.location_country.errors }}
{% endif %}
+
+
+
+
+
+
+
+
{% trans "Salary Range" %}
+ {{ form.salary_range }}
+ {% if form.salary_range.errors %}
{{ form.salary_range.errors }}
{% endif %}
+
+
+
+
+
+
{# ================================================= #}
{# ACTION BUTTONS #}
diff --git a/templates/jobs/edit_job.html b/templates/jobs/edit_job.html
index 51cf403..20fbe2f 100644
--- a/templates/jobs/edit_job.html
+++ b/templates/jobs/edit_job.html
@@ -117,28 +117,21 @@
-
+
{% trans "Job Title" %} *
{{ form.title }}
{% if form.title.errors %}
{{ form.title.errors }}
{% endif %}
-
+
{% trans "Job Type" %} *
{{ form.job_type }}
{% if form.job_type.errors %}
{{ form.job_type.errors }}
{% endif %}
-
-
-
-
{% trans "Department" %}
- {{ form.department }}
- {% if form.department.errors %}
{{ form.department.errors }}
{% endif %}
-
-
+
{% trans "Workplace Type" %} *
@@ -146,33 +139,18 @@
{% if form.workplace_type.errors %}
{{ form.workplace_type.errors }}
{% endif %}
-
-
-
-
-
- {# ================================================= #}
- {# SECTION 2: INTERNAL AND PROMOTION #}
- {# ================================================= #}
-
-
-
-
-
-
{% trans "Position Number" %}
- {{ form.position_number }}
- {% if form.position_number.errors %}
{{ form.position_number.errors }}
{% endif %}
+
{% trans "Application Deadline" %}*
+ {{ form.application_deadline }}
+ {% if form.application_deadline.errors %}
{{ form.application_deadline.errors }}
{% endif %}
-
{% trans "Reports To" %}
- {{ form.reporting_to }}
- {% if form.reporting_to.errors %}
{{ form.reporting_to.errors }}
{% endif %}
+
{% trans "Department" %}
+ {{ form.department }}
+ {% if form.department.errors %}
{{ form.department.errors }}
{% endif %}
@@ -189,72 +167,14 @@
{% if form.max_applications.errors %}
{{ form.max_applications.errors }}
{% endif %}
-
-
-
-
-
{% trans "Hashtags (For Promotion/Search on Linkedin)" %}
- {{ form.hash_tags }}
- {% if form.hash_tags.errors %}
{{ form.hash_tags.errors }}
{% endif %}
-
{% trans "Comma-separated list of hashtags, e.g., #hiring, #professor" %}
-
-
- {# ================================================= #}
- {# SECTION 3: LOCATION AND DATES #}
- {# ================================================= #}
+
-
-
-
-
-
-
-
{% trans "City" %}
- {{ form.location_city }}
- {% if form.location_city.errors %}
{{ form.location_city.errors }}
{% endif %}
-
-
-
-
-
{% trans "State/Province" %}
- {{ form.location_state }}
- {% if form.location_state.errors %}
{{ form.location_state.errors }}
{% endif %}
-
-
-
-
-
{% trans "Country" %}
- {{ form.location_country }}
- {% if form.location_country.errors %}
{{ form.location_country.errors }}
{% endif %}
-
-
-
-
-
-
{% trans "Application Deadline" %}*
- {{ form.application_deadline }}
- {% if form.application_deadline.errors %}
{{ form.application_deadline.errors }}
{% endif %}
-
-
-
-
-
-
{% trans "Salary Range" %}
- {{ form.salary_range }}
- {% if form.salary_range.errors %}
{{ form.salary_range.errors }}
{% endif %}
-
-
-
-
-
-
+
{# ================================================= #}
{# SECTION 4: JOB CONTENT (CKEDITOR 5 Fields) #}
{# ================================================= #}
@@ -313,8 +233,90 @@
+ {# ================================================= #}
+ {# SECTION 2: INTERNAL AND PROMOTION #}
+ {# ================================================= #}
+
+
+
+
+
+
+
+
{% trans "Position Number" %}
+ {{ form.position_number }}
+ {% if form.position_number.errors %}
{{ form.position_number.errors }}
{% endif %}
+
+
+
+
+
{% trans "Reports To" %}
+ {{ form.reporting_to }}
+ {% if form.reporting_to.errors %}
{{ form.reporting_to.errors }}
{% endif %}
+
+
+
+
+
+
{% trans "Hashtags (For Promotion/Search on Linkedin)" %}
+ {{ form.hash_tags }}
+ {% if form.hash_tags.errors %}
{{ form.hash_tags.errors }}
{% endif %}
+
{% trans "Comma-separated list of hashtags, e.g., #hiring, #professor" %}
+
+
+
+
+
+
+ {# ================================================= #}
+ {# SECTION 3: LOCATION AND Salary #}
+ {# ================================================= #}
+
+
+
+
+
+
+
+
{% trans "City" %}
+ {{ form.location_city }}
+ {% if form.location_city.errors %}
{{ form.location_city.errors }}
{% endif %}
+
+
+
+
+
{% trans "State/Province" %}
+ {{ form.location_state }}
+ {% if form.location_state.errors %}
{{ form.location_state.errors }}
{% endif %}
+
+
+
+
+
{% trans "Country" %}
+ {{ form.location_country }}
+ {% if form.location_country.errors %}
{{ form.location_country.errors }}
{% endif %}
+
+
+
+
+
+
+
+
{% trans "Salary Range" %}
+ {{ form.salary_range }}
+ {% if form.salary_range.errors %}
{{ form.salary_range.errors }}
{% endif %}
+
+
+
+
+
+
{# ================================================= #}
{# ACTION BUTTONS #}
diff --git a/templates/jobs/job_detail.html b/templates/jobs/job_detail.html
index 4b4ff5d..673fc50 100644
--- a/templates/jobs/job_detail.html
+++ b/templates/jobs/job_detail.html
@@ -4,7 +4,6 @@
{% block title %}{{ job.title }} - University ATS{% endblock %}
{% block customCSS %}
-
{% endblock %}
@@ -238,12 +152,12 @@
Home
Jobs
- Job Detail
+ Job Detail
- {# LEFT COLUMN: JOB DETAILS WITH TABS #}
+ {# LEFT COLUMN: JOB DETAILS (NO TABS) #}
@@ -252,276 +166,136 @@
{{ job.title }}
{% trans "JOB ID: "%}{{ job.internal_job_id }}
+
+ {# Deadline #}
+ {% if job.application_deadline %}
+
+
+ {% trans "Deadline:" %} {{ job.application_deadline }}
+
+ {% endif %}
-
-
- {# Corrected status badge logic to close the span correctly #}
- {% 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 }}
+
+
+ {# Status badge #}
+
+
+ {{ job.get_status_display }}
+
-
+
+
+
+ {# Share Public Link Button #}
+
+
+ {% trans "Share Public Link" %}
+
+
+
+ {% trans "Copied!" %}
- {# LEFT TABS NAVIGATION #}
-
-
-
- {% trans "Core Details" %}
-
-
-
-
- {% trans "Description & Requirements" %}
-
-
-
-
- {% trans "Application KPIs" %}
-
-
-
-
-
+ {# CONTENT: CORE DETAILS (No Tabs) #}
-
-
- {# 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" }}
-
-
-
-
- {# Replaced bulky SVG with simpler Font Awesome icon #}
-
- {% trans "Share Public Link" %}
-
-
-
- {% trans "Copied!" %}
-
-
-
-
-
{% 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 %}
-
+
+
+
+
+ {% trans "Department:" %} {{ job.department|default:"N/A" }}
-
- {# 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 %}
- {% if job.application_instructions %}
-
-
{% trans "Application Instructions" %}
-
{{ job.application_instructions|safe }}
-
- {% endif %}
-
+
+ {% trans "Position No:" %} {{ job.position_number|default:"N/A" }}
-
- {# TAB 3 CONTENT: APPLICATION KPIS #}
-
-
-
- {# 1. Job Avg. Score #}
-
-
-
-
-
{{ avg_match_score|floatformat:1 }}
-
{% trans "Avg. AI Score" %}
-
-
-
-
- {# 2. High Potential Count #}
-
-
-
-
-
{{ high_potential_count }}
-
{% trans "High Potential" %}
-
-
-
-
- {# 3. Avg. Time to Interview #}
-
-
-
-
-
{{ avg_t2i_days|floatformat:1 }}d
-
{% trans "Time to Interview" %}
-
-
-
-
- {# 4. Avg. Exam Review Time #}
-
-
-
-
-
{{ avg_t_in_exam_days|floatformat:1 }}d
-
{% trans "Avg. Exam Review" %}
-
-
-
-
-
-
- {% trans "KPIs based on completed applicant data." %}
-
-
+
+ {% trans "Job Type:" %} {{ job.get_job_type_display }}
+
+
+ {% trans "Workplace:" %} {{ job.get_workplace_type_display }}
+
+
+ {% trans "Location:" %} {{ job.get_location_display }}
+
+
+ {% trans "Salary:" %} {{ job.salary_range |default:"N/A" }}
+
+
+ {% 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" }}
-
-
-
-
+
+ {# Description Blocks (Main Content) #}
+ {% 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 %}
+ {% if job.application_instructions %}
+
+
{% trans "Application Instructions" %}
+
{{ job.application_instructions|safe }}
+
+ {% endif %}
- {# FOOTER ACTIONS #}
-
- {# RIGHT COLUMN: TABBED CARDS #}
+ {# RIGHT COLUMN: TABBED CARDS #}
- {# New Card for Candidate Category Chart #}
-
- {# REMOVED: Standalone Applicant Tracking Card (It is now in a tab) #}
-
-
-
{# RIGHT TABS NAVIGATION #}
-
+
- {% trans "Applicants" %}
+ {% trans "Applicants" %}
- {% trans "Tracking" %}
+ {% trans "Tracking" %}
- {% trans "Form Template" %}
+ {% trans "Form Template" %}
@@ -531,70 +305,70 @@
-
+
{# TAB 1: APPLICANTS CONTENT #}
{% trans "Total Applicants" %} ({{ total_applicants }} )
-
- {# NEW TAB 2: APPLICANT TRACKING CONTENT #}
+ {# TAB 2: TRACKING CONTENT #}
-
{% trans "Pipeline Stages" %}
+
{% trans "Applicant Stages" %}
{% include 'jobs/partials/applicant_tracking.html' %}
-
{% trans "View the number of candidates currently in each stage of the hiring pipeline." %}
+
+ {% trans "The applicant tracking flow is defined by the attached Form Template. View the Form Template tab to manage stages and fields." %}
+
+ {# Placeholder for stage tracker component #}
{# TAB 3: MANAGEMENT (Form Template) CONTENT #}
-
{% trans "Form Management" %}
-
{# TAB 4: LINKEDIN INTEGRATION 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." %}
+
{% trans "This job has not been posted to LinkedIn yet." %}
{% endif %}
+
+
+ {% trans "Upload Image for Post" %}
+
{% if not request.session.linkedin_authenticated %}
-
+
{% trans "You need to" %} {% trans "authenticate with LinkedIn" %} {% trans "first." %}
{% endif %}
@@ -623,6 +401,82 @@
+ {# Card 2: Candidate Category Chart #}
+
+
+ {# Card 3: KPIs #}
+
+
+
+
+
+
+ {# 1. Job Avg. Score #}
+
+
+
+
+
{{ avg_match_score|floatformat:1 }}
+
{% trans "Avg. AI Score" %}
+
+
+
+
+ {# 2. High Potential Count #}
+
+
+
+
+
{{ high_potential_count }}
+
{% trans "High Potential" %}
+
+
+
+
+ {# 3. Avg. Time to Interview #}
+
+
+
+
+
{{ avg_t2i_days|floatformat:1 }}d
+
{% trans "Time to Interview" %}
+
+
+
+
+ {# 4. Avg. Exam Review Time #}
+
+
+
+
+
{{ avg_t_in_exam_days|floatformat:1 }}d
+
{% trans "Avg. Exam Review" %}
+
+
+
+
+
+
+
+
+
diff --git a/templates/jobs/job_list.html b/templates/jobs/job_list.html
index 89ecd1c..c159c7c 100644
--- a/templates/jobs/job_list.html
+++ b/templates/jobs/job_list.html
@@ -311,7 +311,7 @@
{{ comment.content|safe }}
+{% trans "No comments yet. Be the first to comment!" %}
+ {% endif %} +