From 35b406d22ca317b0335d41cd1ff998bd64466090 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 20 Jul 2020 13:37:59 +0100 Subject: [PATCH] Bug 24201: (QA follow-up) Hide header if desks disabled Signed-off-by: Martin Renvoize Signed-off-by: Josef Moravec --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index 54351390dc..ca3bae3a17 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -86,7 +86,7 @@ [% Branches.GetLoggedInBranchcode | html %] [% END %] - [% IF Desks.ListForLibrary.count %] + [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %] | [% IF ( Desks.GetLoggedInDeskName == '' ) %] @@ -117,6 +117,8 @@ [% Branches.GetLoggedInBranchcode | html %] [% END %] + + [% IF Koha.Preference('UseCirculationDesks') %]
  • Desk:
    [% IF ( Desks.GetLoggedInDeskName == '' AND Desks.ListForLibrary.count ) %] @@ -126,6 +128,7 @@ [% Desks.GetLoggedInDeskId | html %] [% END %]
  • + [% END %] [% IF ( IndependentBranches ) %] -- 2.11.0