From 35ea672e7af39e3e54ef0822b85da4ba19ed21bf 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. Revised to include Font Awesome icons. Depends on Bug 15785. 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: Owen Leonard Buttons display as expected. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../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 305741ab79..8c66bedaa0 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.39.5