From 3749fbd3efe793a8a13c9105bbe6c6f4dc39663d Mon Sep 17 00:00:00 2001 From: ismail Date: Fri, 28 Nov 2025 20:25:16 +0300 Subject: [PATCH 1/5] update some urls --- recruitment/views.py | 7 +++---- templates/interviews/interview_create_type_selection.html | 2 +- templates/recruitment/applications_interview_view.html | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/recruitment/views.py b/recruitment/views.py index 5db6769..01b6808 100644 --- a/recruitment/views.py +++ b/recruitment/views.py @@ -5138,11 +5138,10 @@ def portal_logout(request): def interview_create_type_selection(request, candidate_slug): """Show interview type selection page for a candidate""" candidate = get_object_or_404(Application, slug=candidate_slug) - # Validate candidate is in Interview stage - if candidate.stage != 'Interview': - messages.error(request, f"Candidate {candidate.name} is not in Interview stage.") - return redirect('candidate_interview_view', slug=candidate.job.slug) + # if candidate.stage != 'Interview': + # messages.error(request, f"Candidate {candidate.name} is not in Interview stage.") + # return redirect('candidate_interview_view', slug=candidate.job.slug) context = { 'candidate': candidate, diff --git a/templates/interviews/interview_create_type_selection.html b/templates/interviews/interview_create_type_selection.html index 3b5ad56..6e57f7b 100644 --- a/templates/interviews/interview_create_type_selection.html +++ b/templates/interviews/interview_create_type_selection.html @@ -41,7 +41,7 @@
- Back to Candidate List diff --git a/templates/recruitment/applications_interview_view.html b/templates/recruitment/applications_interview_view.html index 9b0f75b..fc33d2f 100644 --- a/templates/recruitment/applications_interview_view.html +++ b/templates/recruitment/applications_interview_view.html @@ -227,7 +227,7 @@
{# Form 2: Schedule Interviews #} -
+ @@ -431,7 +431,7 @@ @@ -643,21 +643,21 @@