From 5392b17235d2a0e3ed6515007597e488662c0556 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=UTF-8 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 --- .../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 305741a..8c66bed 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.7.0