[FIX] RECRUITMENT: #875
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user