From 54327453b1191d0bea6f422bb8ec8aa318c1b8ac Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 3 Feb 2016 08:40:20 -0500 Subject: [PATCH] [SIGNED-OFF]Bug 15784: Library deletion warning is incorrectly styled 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. Signed-off-by: Hector Castro Works as advertised --- .../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' %] -- 1.7.10.4