From ac1f65bc2c99849e0e797e86cc46c2f364b81325 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 29 Jul 2022 16:58:24 +0200 Subject: [PATCH] Bug 30650: Add message on the admin page if the pref is off Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt index 2adc248bc0..4914aceb9b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt @@ -1,4 +1,6 @@ [% USE raw %] +[% USE KohaSpan %] +[% USE Koha %] [% USE Asset %] [% SET footerjs = 1 %] [% USE TablesSettings %] @@ -57,6 +59,10 @@

Curbside pickup configuration

+ [% UNLESS Koha.Preference('CurbsidePickup') %] + [% SET pref_CurbsidePickup_link = 'CurbsidePickup' %] +
The [% pref_CurbsidePickup_link | $raw | $KohaSpan %] preference is not enabled, do not forget to enable it to turn the feature on.
+ [% END %]