From 9a3084fd9180160f1e47c0134d49533c5bc106ce 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 Content-Type: text/plain; charset="utf-8" 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. --- 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 9c854eb..fd31671 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.1.4