[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH] Tiki manager UI: ensure the user confirms Tiki instance deletion to prevent accidents
Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <691c7d5a49ee2_2a25b2d70168f@gitlab-sidekiq-low-urgency-cpu-bound-v2-cf788b4bc-ghg29.mail> |
Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
dc93a2f7 by Sammy Ndabo at 2025-11-18T13:57:55+00:00
[ENH] Tiki manager UI: ensure the user confirms Tiki instance deletion to prevent accidents
---
* [ENH] manager: add aria-label for delete action and improve confirmation prompt
* [ENH] manager: ensure the user confirm tiki instance deletion before to prevent accident
See merge request tikiwiki/tiki!9045
- - - - -
1 changed file:
- templates/manager/index.tpl
Changes:
=====================================
templates/manager/index.tpl
=====================================
@@ -80,7 +80,9 @@
</a>
</action>
<action>
- <a href="{service controller=manager action=delete instanceId=$instance->id}">
+ <a href="{service controller=manager action=delete instanceId=$instance->id}"
+ aria-label="{tr}Delete{/tr}"
+ onclick="confirmPopup('{tr}Are you sure you want to delete this instance?{/tr}', '{ticket mode=get}');">
{icon name=times _menu_text='y' _menu_icon='y' alt="{tr}Delete{/tr}"}
</a>
</action>
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/dc93a2f79535dc489195880b714acb82c02b5dd8
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/dc93a2f79535dc489195880b714acb82c02b5dd8
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs