From b46a9e84d8f10adf42f78989e5e1fb2aefcc6174 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 --- 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 d4fb9bf453..ce4a81c5ea 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.20.1