From 24ed73dc4d250b7f555f0dc0b1261e6c3c4e697f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 28 Aug 2024 14:21:52 +0000 Subject: [PATCH] Bug 37759: Duplicated "Set library" menu item caused by bad merge This patch removes an unnecessary block of markup accidentally left behind during a rebase of Bug 35402, removing a duplicate "Set library..." menu item from the header menu in the staff interface. After the batch, users who have permission to change their logged-in library should see only a single "Set library..." menu item in the user menu found on the right-hand side of the header menu. Signed-off-by: Roman Dolny Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index d65a3dcae2b..0bc5b87ecc7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -198,18 +198,7 @@ -
  • -
  • - [% IF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %] - Set library, desk and register - [% ELSIF Koha.Preference('UseCirculationDesks') %] - Set library and desk - [% ELSIF Koha.Preference('UseCashRegisters') %] - Set library and cash register - [% ELSE %] - Set library - [% END %] -
  • + [% ELSIF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %]
  • -- 2.34.1