diff --git a/app/templates/admin/components.html b/app/templates/admin/components.html index c3b31701..91af3983 100644 --- a/app/templates/admin/components.html +++ b/app/templates/admin/components.html @@ -2626,34 +2626,24 @@ goToPage(n) { if (n !== '...' && n >= 1 && n <= this.totalPages) { this.paginati
Static Message (confirm_modal):
-{% raw %}{% from 'shared/macros/modals.html' import confirm_modal %}
-
-{{ confirm_modal(
- 'deleteConfirm',
- 'Delete Item',
- 'Are you sure you want to delete this item?',
- 'deleteItem()',
- 'showDeleteModal',
- 'Delete',
- 'Cancel',
- 'danger'
-) }}{% endraw %}
+ Static Message (confirm_modal):
+ +
Dynamic Message (confirm_modal_dynamic):
-{% raw %}{% from 'shared/macros/modals.html' import confirm_modal_dynamic %}
-
-{{ confirm_modal_dynamic(
- 'removePlatformModal',
- 'Remove Platform',
- "'Are you sure you want to remove \"' + (item?.name || '') + '\" ?'",
- 'confirmRemove()',
- 'showConfirmModal',
- 'Remove',
- 'Cancel',
- 'warning'
-) }}{% endraw %}
+ Dynamic Message (confirm_modal_dynamic):
+ +