From d27339fead76f8a79f62b4d47078da2c4e6cfe3e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 3 Feb 2016 08:40:20 -0500 Subject: [PATCH] Bug 15784 - Library deletion warning is incorrectly styled Content-Type: text/plain; charset="utf-8" When deleting a library in Administration -> Libraries and groups, the deletion confirmation message is not styled with the standard "dialog alert"
. This patch modifies the confirmation markup to match the standard. To test, apply the patch and go to Administration -> Libraries and groups. - Try deleting a library. The confirmation box should have the standard "dialog alert" class. - Test the 'confirm' and 'cancel' actions and make sure both complete correctly. --- .../intranet-tmpl/prog/en/modules/admin/branches.tt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index 36c4f2b..de4e4c9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -202,18 +202,18 @@ tinyMCE.init({ [% END %] [% IF op == 'delete_confirm' and not ( items_count or patrons_count )%] -
-
- Confirm deletion of [% library.branchname %] ([% library.branchcode %])? +
+ +

Are you sure you want to delete [% library.branchname %] ([% library.branchcode %])?

-
- - Cancel -
-
-
+ + +
+ +
+
[% END %] [% IF op == 'list' %] -- 2.1.4