From 27aa577ec5b52e40c423f1732f0f3ff51e250423 Mon Sep 17 00:00:00 2001 From: Horilla Date: Tue, 19 Aug 2025 20:30:13 +0530 Subject: [PATCH] [FIX] RECRUITMENT: #875 --- .../components/candidate_stage_component.html | 8 +-- .../pipeline_components/send_mail.html | 28 +++++++---- recruitment/views/actions.py | 50 ++++++++++++------- 3 files changed, 56 insertions(+), 30 deletions(-) diff --git a/recruitment/templates/pipeline/components/candidate_stage_component.html b/recruitment/templates/pipeline/components/candidate_stage_component.html index b0991f2da..3ae4240cb 100644 --- a/recruitment/templates/pipeline/components/candidate_stage_component.html +++ b/recruitment/templates/pipeline/components/candidate_stage_component.html @@ -246,10 +246,10 @@ {% endif %} {% if perms.recruitment.change_candidate or request.user.employee_get in stage.stage_managers.all %} - diff --git a/recruitment/templates/pipeline/pipeline_components/send_mail.html b/recruitment/templates/pipeline/pipeline_components/send_mail.html index 02fa6f692..f7c8ed38a 100644 --- a/recruitment/templates/pipeline/pipeline_components/send_mail.html +++ b/recruitment/templates/pipeline/pipeline_components/send_mail.html @@ -1,13 +1,18 @@ {% load i18n %} -
-
{% trans 'Send Mail' %}
+
{% if cand %} + {% trans "Send Mail to" %} {{ cand.name }} + {% else %} + {% trans "Send Mail to Multiple Candidates" %} + {% endif %} +
@@ -16,7 +21,10 @@
- + {% if cand %} + + {% endif %} +