From 5b89339272f4430a298363db2acb816ee9178fc4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 Mar 2016 11:54:02 -0500 Subject: [PATCH] Bug 15960: Use Font Awesome icons for classification filing rule deletion error When deletion of a classification filing rule is impossible, the dialog saying so should be styled with Font Awesome icons. This patch corrects this omission from the patch for Bug 15785. Also changed: The dialog is now an "alert" style dialog instead of a "message" one. To test, apply the patch and go to Administration -> Classification sources. - Locate a classification filing rule which is in use by a classification source. - Click the "Delete" link for that rule and verify that the resulting dialog is correctly styled. - Click the "OK" button and confirm that you are correctly redirected. Signed-off-by: Hector Castro Works as advertise Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt index 24f8bc46a8..c9c63a8557 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt @@ -216,12 +216,12 @@ function CheckRuleForm(f) { [% END %] [% IF ( delete_sort_rule_impossible ) %] -

Cannot delete filing rule '[% sort_rule %]'

+

Cannot delete filing rule '[% sort_rule %]'

The filing rule [% sort_rule %] is used by at least one classification source. Please remove it from all classification source definitions before trying again.

- +
[% END %] -- 2.39.5