refactor: remove tooltip

This commit is contained in:
Herculino Trotta
2024-10-14 22:57:17 -03:00
parent e12b5e62c4
commit aee9f39e20
9 changed files with 14 additions and 31 deletions
+2 -4
View File
@@ -38,8 +38,7 @@
data-bs-toggle="tooltip"
data-bs-title="{% translate "Edit" %}"
hx-get="{% url 'currency_edit' pk=currency.id %}"
hx-target="#generic-offcanvas"
_="install tooltip">
hx-target="#generic-offcanvas">
<i class="fa-solid fa-pencil fa-fw"></i></a>
<a class="text-danger text-decoration-none p-1 tag-action"
role="button"
@@ -47,8 +46,7 @@
data-bs-title="{% translate "Delete" %}"
hx-delete="{% url 'currency_delete' pk=currency.id %}"
hx-trigger='delete_confirmed'
_="install tooltip
on click
_="on click
if event.ctrlKey trigger delete_confirmed
else
call Swal.fire({title: '{% translate 'Are you sure?' %}',