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
@@ -37,8 +37,7 @@
data-bs-toggle="tooltip"
data-bs-title="{% translate "Edit" %}"
hx-get="{% url 'account_group_edit' pk=account_group.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"
@@ -46,8 +45,7 @@
data-bs-title="{% translate "Delete" %}"
hx-delete="{% url 'account_group_delete' pk=account_group.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?' %}',