From 901fe6d8bd2eb4902f1546d5de1f2da2ab6cf63f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 Mar 2016 12:35:56 -0500 Subject: [PATCH] [PASSED QA] Bug 15961 - Use Font Awesome icons for confirmation of currency deletion When deleting a currency, the confirmation and error dialogs should use Font Awesome icons. This patch makes this change. To test, apply the patch and go to Administration -> Currencies and exchange rates. - Click the "delete" link next to any currency. - Verify that the confirmation dialog is correctly styled. - Test the both cancel and confirm operations. - Verify that the deletion confirmation dialog is correctly styled. Bug 15962 prevents testing the error dialog which should appear if you try to delete a currency which is use (defined as a currency in a vendor record). To test this error you could manually enter a currency code into aqbooksellers.currency and then try to delete that currency. Signed-off-by: Nicole C Engard Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt index e1268c7..965c638 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt @@ -124,11 +124,11 @@ [% IF ( delete_confirm ) %] [% IF ( totalgtzero ) %] -
+

Cannot delete currency '[% searchfield %]'

This currency is used [% total %] times. Deletion not possible

- +
[% ELSE %] @@ -145,10 +145,10 @@
- +
- +
[% END %] @@ -157,7 +157,7 @@ [% IF ( delete_confirmed ) %]

Currency deleted

- +
[% END %] -- 1.9.1