[FIX] RECRUITMENT: #875

This commit is contained in:
Horilla
2025-08-28 16:56:25 +05:30
parent c35e8ad986
commit 8b1d8255d4
5 changed files with 12 additions and 12 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

@@ -117,11 +117,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>

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>