[FIX] BASE: Fix typo in file name
This commit is contained in:
@@ -1,44 +0,0 @@
|
|||||||
{% load basefilters i18n %}
|
|
||||||
|
|
||||||
{% if instance.approved or instance.canceled %}
|
|
||||||
<button class="oh-btn oh-btn--info w-50" disabled>
|
|
||||||
<ion-icon name="create-outline"></ion-icon>
|
|
||||||
{% trans "Edit" %}
|
|
||||||
</button>
|
|
||||||
{% else %}
|
|
||||||
<a
|
|
||||||
hx-get="{% url 'shift-request-update' instance.id %}"
|
|
||||||
hx-target="#genericModalBody"
|
|
||||||
data-toggle="oh-modal-toggle"
|
|
||||||
data-target="#genericModal"
|
|
||||||
class="oh-btn oh-btn--info w-50"
|
|
||||||
>
|
|
||||||
<ion-icon name="create-outline"></ion-icon>
|
|
||||||
{% trans "Edit" %}
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if instance.approved or instance.canceled %}
|
|
||||||
<button class="oh-btn oh-btn--secondary w-50" disabled>
|
|
||||||
<ion-icon name="trash-outline"></ion-icon>
|
|
||||||
{% trans "Delete" %}
|
|
||||||
</button>
|
|
||||||
{% else %}
|
|
||||||
<a
|
|
||||||
hx-confirm="{% trans 'Are you sure you want to delete this shift request?' %}"
|
|
||||||
hx-post="{% url 'shift-request-delete' instance.id %}?instances_ids={{ request.session.ordered_ids_shiftrequest }}"
|
|
||||||
hx-target="#genericModalBody"
|
|
||||||
class="oh-btn oh-btn--danger w-50"
|
|
||||||
title="{% trans 'Delete' %}"
|
|
||||||
>
|
|
||||||
<ion-icon name="create-outline"></ion-icon>
|
|
||||||
{% trans "Delete" %}
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if request.GET.deleted %}
|
|
||||||
<script>
|
|
||||||
$("#reloadMessagesButton").click();
|
|
||||||
$(".reload-record").click();
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<ion-icon name="create-outline"></ion-icon>
|
<ion-icon name="create-outline"></ion-icon>
|
||||||
{% trans "Edit" %}
|
{% trans "Edit" %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if instance.approved or instance.canceled %}
|
{% if instance.approved or instance.canceled %}
|
||||||
<button class="oh-btn oh-btn--secondary w-50" disabled>
|
<button class="oh-btn oh-btn--secondary w-50" disabled>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
<ion-icon name="create-outline"></ion-icon>
|
<ion-icon name="create-outline"></ion-icon>
|
||||||
{% trans "Delete" %}
|
{% trans "Delete" %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if request.GET.deleted %}
|
{% if request.GET.deleted %}
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user