From fac6a02a8889f619ffe7d5142292db6a7fff6fe6 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Tue, 30 Jan 2018 04:26:14 +0000 Subject: [PATCH] Bug 16188: Followup - Add message where there are providers. Before patch, the warning is only displayed if the provider list is empty. After the patch, a more pronounced warning is displayed when there is at least one provider. TEST PLAN --------- 1) Apply first patch. 2) restart_all 3) Warning is visible in Patron preferences for setting SMS::Driver::Email. 4) Set it to Email anyways. 5) SMS Providers becomes visible in Administration 6) Warning is visible when there are no providers. 7) Create a provider. -- warning disappears. 8) apply this second patch 9) restart_all 10) Reload the SMS Providers page 11) There is now a very visible warning. 12) Run koha qa test tools. Signed-off-by: Brendan Gallagher --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt index 952478f..b0c5090 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt @@ -22,6 +22,9 @@

SMS cellular providers

[% IF providers.size %] + -- 2.1.4