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

View File

@@ -40,8 +40,7 @@
data-bs-toggle="tooltip"
data-bs-title="{% translate "Edit" %}"
hx-get="{% url 'account_edit' pk=account.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"
@@ -49,8 +48,7 @@
data-bs-title="{% translate "Delete" %}"
hx-delete="{% url 'account_delete' pk=account.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?' %}',