From 13104f2db778531f4bf84ca7af307e265b73b063 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 29 Jul 2022 11:21:14 +0200 Subject: [PATCH] Bug 30650: Display the link in the admin even if the pref is off The link in the sidebar was displayed already. The idea is to let admins configure the module before enabling it for users. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc index a2713a374c..244f5acf5c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -26,7 +26,7 @@ [% END %] - [% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities || ( Koha.Preference('CurbsidePickup') && CAN_user_parameters_manage_curbside_pickups ) ) %] + [% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities || CAN_user_parameters_manage_curbside_pickups ) %]
Patrons and circulation
    [% IF ( CAN_user_parameters_manage_patron_categories ) %] @@ -51,7 +51,7 @@ [% IF ( CAN_user_parameters_manage_cities ) %]
  • Cities and towns
  • [% END %] - [% IF ( Koha.Preference('CurbsidePickup') && CAN_user_parameters_manage_curbside_pickups ) %] + [% IF ( CAN_user_parameters_manage_curbside_pickups ) %]
  • Curbside pickup
  • [% END %] -- 2.39.5