[FIX] RECRUITMENT: #875
This commit is contained in:
@@ -246,12 +246,12 @@
|
|||||||
{% if perms.recruitment.change_candidate %}
|
{% if perms.recruitment.change_candidate %}
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
hx-get='{% url "send-mail" cand.id %}'
|
hx-get="{% url 'send-mail' cand.id %}"
|
||||||
title="{% trans "Send Mail" %}"
|
title="{% trans 'Send Mail' %}"
|
||||||
hx-target="#objectDetailsModalTarget"
|
hx-target="#objectCreateModalTarget"
|
||||||
class="oh-btn oh-btn--light-bkg w-100"
|
class="oh-btn oh-btn--light-bkg w-100"
|
||||||
data-toggle="oh-modal-toggle"
|
data-toggle="oh-modal-toggle"
|
||||||
data-target="#objectDetailsModal"
|
data-target="#objectCreateModal"
|
||||||
style="padding:0.8rem 1rem"
|
style="padding:0.8rem 1rem"
|
||||||
>
|
>
|
||||||
<ion-icon name="mail-open-outline"></ion-icon>
|
<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 %}
|
{% if perms.recruitment.change_candidates or request.user|is_stagemanager %}
|
||||||
<li class="oh-dropdown__item">
|
<li class="oh-dropdown__item">
|
||||||
<a href="#" class="oh-dropdown__link "
|
<a href="#" class="oh-dropdown__link "
|
||||||
hx-get='{% url "send-mail" %}?stage_id={{stage.id}}' hx-target="#objectDetailsModalTarget"
|
hx-get='{% url "send-mail" %}?stage_id={{stage.id}}' hx-target="#objectCreateModalTarget"
|
||||||
data-toggle="oh-modal-toggle" data-target="#objectDetailsModal"
|
data-toggle="oh-modal-toggle" data-target="#objectCreateModal"
|
||||||
|
|
||||||
>{% trans "Bulk mail" %}</a
|
>{% trans "Bulk mail" %}</a
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -209,10 +209,10 @@
|
|||||||
type="button"
|
type="button"
|
||||||
hx-get='{% url "send-mail" cand.id %}'
|
hx-get='{% url "send-mail" cand.id %}'
|
||||||
title="{% trans "Send Mail" %}"
|
title="{% trans "Send Mail" %}"
|
||||||
hx-target="#objectDetailsModalTarget"
|
hx-target="#objectCreateModalTarget"
|
||||||
class="oh-btn oh-btn--light-bkg w-100"
|
class="oh-btn oh-btn--light-bkg w-100"
|
||||||
data-toggle="oh-modal-toggle"
|
data-toggle="oh-modal-toggle"
|
||||||
data-target="#objectDetailsModal"
|
data-target="#objectCreateModal"
|
||||||
style="padding:0.8rem 1rem"
|
style="padding:0.8rem 1rem"
|
||||||
>
|
>
|
||||||
<ion-icon name="mail-open-outline"></ion-icon>
|
<ion-icon name="mail-open-outline"></ion-icon>
|
||||||
|
|||||||
@@ -117,11 +117,11 @@
|
|||||||
<a
|
<a
|
||||||
class="oh-dropdown__link oh-dropdown__link--secondary"
|
class="oh-dropdown__link oh-dropdown__link--secondary"
|
||||||
hx-get='{% url "send-mail" cand.id %}'
|
hx-get='{% url "send-mail" cand.id %}'
|
||||||
hx-target='#objectDetailsModalTarget'
|
hx-target="#objectCreateModalTarget"
|
||||||
hx-swap='innerHTML'
|
hx-swap='innerHTML'
|
||||||
style="cursor: pointer;"
|
style="cursor: pointer;"
|
||||||
data-toggle='oh-modal-toggle'
|
data-toggle='oh-modal-toggle'
|
||||||
data-target='#objectDetailsModal'
|
data-target='#objectCreateModal'
|
||||||
>{% trans "Send Mail" %}</a
|
>{% trans "Send Mail" %}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -192,11 +192,11 @@
|
|||||||
<a
|
<a
|
||||||
class="oh-dropdown__link oh-dropdown__link--secondary"
|
class="oh-dropdown__link oh-dropdown__link--secondary"
|
||||||
hx-get='{% url "send-mail" cand.id %}'
|
hx-get='{% url "send-mail" cand.id %}'
|
||||||
hx-target='#objectDetailsModalTarget'
|
hx-target="#objectCreateModalTarget"
|
||||||
hx-swap='innerHTML'
|
hx-swap='innerHTML'
|
||||||
style="cursor: pointer;"
|
style="cursor: pointer;"
|
||||||
data-toggle='oh-modal-toggle'
|
data-toggle='oh-modal-toggle'
|
||||||
data-target='#objectDetailsModal'
|
data-target='#objectCreateModal'
|
||||||
>{% trans "Send Mail" %}</a
|
>{% trans "Send Mail" %}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user