From 5e2994cf3f4e758121b1da2003fd2a13c05ed780 Mon Sep 17 00:00:00 2001 From: Horilla Date: Fri, 7 Feb 2025 09:46:21 +0530 Subject: [PATCH] [FIX] RECRUITMENT: Add to rejected candidates not working issue --- recruitment/templates/candidate/candidate_card.html | 2 +- recruitment/templates/candidate/candidate_list.html | 2 +- recruitment/templates/candidate/group_by.html | 2 +- .../pipeline/components/candidate_stage_component.html | 2 +- .../pipeline/kanban_components/candidate_kanban_components.html | 2 +- recruitment/templates/pipeline/pipeline_card.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recruitment/templates/candidate/candidate_card.html b/recruitment/templates/candidate/candidate_card.html index 4c21ec264..707bf6229 100644 --- a/recruitment/templates/candidate/candidate_card.html +++ b/recruitment/templates/candidate/candidate_card.html @@ -131,7 +131,7 @@ > {% endif %} - {% if onboarding|app_installed %} + {% if "onboarding"|app_installed %} {% if perms.recruitment.add_rejectedcandidate or request.user|is_stagemanager or perms.recruitment.chanage_candidate %}
  • {% else %} - {% if onboarding|app_installed %} + {% if "onboarding"|app_installed %} {% if perms.recruitment.add_rejectedcandidate or perms.recruitment.change_candidate %} {% else %} - {% if onboarding|app_installed %} + {% if "onboarding"|app_installed %} {% if perms.recruitment.add_rejectedcandidate or perms.recruitment.change_candidate %} {% endif %} - {% if onboarding|app_installed %} + {% if "onboarding"|app_installed %} {% if perms.recruitment.add_rejectedcandidate or request.user.employee_get in stage.stage_managers.all %}