From 6f8e1c3f122029349d12a7309c2f63b2d4253740 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 29 Apr 2022 11:37:24 +0200 Subject: [PATCH] Bug 30650: Add link from the admin home page Sponsored-by: Association KohaLa - https://koha-fr.org/ Signed-off-by: Koha Team University Lyon 3 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc | 6 +++++- koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt | 6 +++++- 2 files changed, 10 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 03ac6e69db..a2713a374c 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 ) %] + [% 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 ) ) %]
Patrons and circulation
    [% IF ( CAN_user_parameters_manage_patron_categories ) %] @@ -51,6 +51,10 @@ [% IF ( CAN_user_parameters_manage_cities ) %]
  • Cities and towns
  • [% END %] + [% IF ( Koha.Preference('CurbsidePickup') && CAN_user_parameters_manage_curbside_pickups ) %] +
  • Curbside pickup
  • + [% END %] +
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt index cd15f66e04..0a77a06495 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt @@ -86,7 +86,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 ) %] + [% 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 ) %] @@ -119,6 +119,10 @@
Cities and towns
Define cities and towns that your patrons live in
[% END %] + [% IF ( CAN_user_parameters_manage_curbside_pickups ) %] +
Curbside pickup
+
Configure curbside pickup for libraries
+ [% END %]
[% END %] -- 2.39.5