From 9fe4546dc15918ba20e96686886d94c416fb1cc7 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: Julian Maurice (cherry picked from commit cfb46e45cb74fdc4a42bb48df78fe820d31fdc86) Signed-off-by: Frédéric Demians --- .../prog/en/modules/admin/branches.tt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 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 941514c2bf..d2cdd273fb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -164,12 +164,19 @@ tinyMCE.init({ [% END %] [% IF ( delete_confirm ) %] -
-
Confirm deletion of [% branchname %] ([% branchcode %])? +
+ +

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

+ + -
Cancel
-
+ + +
+ +
+
[% END %] [% IF ( else ) %] -- 2.39.5