From 8104ce00ace9f6448acd78b079ed550a37c5b0f0 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 --- 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 24f8bc4..c9c63a8 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.7.0