[UPDT] RECRUITMENT: Updated batch email in recruitment

This commit is contained in:
Horilla
2025-08-30 12:55:04 +05:30
parent fb7747e330
commit 8cbe2c2834
5 changed files with 12 additions and 13 deletions

View File

@@ -246,12 +246,12 @@
{% if perms.recruitment.change_candidate %}
<button
type="button"
hx-get='{% url "send-mail" cand.id %}'
title="{% trans "Send Mail" %}"
hx-target="#objectDetailsModalTarget"
hx-get="{% url 'send-mail' cand.id %}"
title="{% trans 'Send Mail' %}"
hx-target="#objectCreateModalTarget"
class="oh-btn oh-btn--light-bkg w-100"
data-toggle="oh-modal-toggle"
data-target="#objectDetailsModal"
data-target="#objectCreateModal"
style="padding:0.8rem 1rem"
>
<ion-icon name="mail-open-outline"></ion-icon>

View File

@@ -161,8 +161,8 @@ x-data="{searchShow: false}"
{% if perms.recruitment.change_candidates or request.user|is_stagemanager %}
<li class="oh-dropdown__item">
<a href="#" class="oh-dropdown__link "
hx-get='{% url "send-mail" %}?stage_id={{stage.id}}' hx-target="#objectDetailsModalTarget"
data-toggle="oh-modal-toggle" data-target="#objectDetailsModal"
hx-get='{% url "send-mail" %}?stage_id={{stage.id}}' hx-target="#objectCreateModalTarget"
data-toggle="oh-modal-toggle" data-target="#objectCreateModal"
>{% trans "Bulk mail" %}</a
>

View File

@@ -209,10 +209,10 @@
type="button"
hx-get='{% url "send-mail" cand.id %}'
title="{% trans "Send Mail" %}"
hx-target="#objectDetailsModalTarget"
hx-target="#objectCreateModalTarget"
class="oh-btn oh-btn--light-bkg w-100"
data-toggle="oh-modal-toggle"
data-target="#objectDetailsModal"
data-target="#objectCreateModal"
style="padding:0.8rem 1rem"
>
<ion-icon name="mail-open-outline"></ion-icon>

View File

@@ -118,14 +118,13 @@
<a
class="oh-dropdown__link oh-dropdown__link--secondary"
hx-get='{% url "send-mail" cand.id %}'
hx-target='#objectDetailsModalTarget'
hx-target="#objectCreateModalTarget"
hx-swap='innerHTML'
style="cursor: pointer;"
data-toggle='oh-modal-toggle'
data-target='#objectDetailsModal'
data-target='#objectCreateModal'
>{% trans "Send Mail" %}</a
>
</li>
{% endif %}
{% if perms.recruitment.add_skillzonecandidate or request.user.employee_get in stage.stage_managers.all %}
<li class="oh-dropdown__item">

View File

@@ -192,11 +192,11 @@
<a
class="oh-dropdown__link oh-dropdown__link--secondary"
hx-get='{% url "send-mail" cand.id %}'
hx-target='#objectDetailsModalTarget'
hx-target="#objectCreateModalTarget"
hx-swap='innerHTML'
style="cursor: pointer;"
data-toggle='oh-modal-toggle'
data-target='#objectDetailsModal'
data-target='#objectCreateModal'
>{% trans "Send Mail" %}</a
>
</li>