From 0e440c07bd5d574e3202cb94846fe5d898fe0a0d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 7 Aug 2020 15:20:55 +0100 Subject: [PATCH] Bug 24201: (QA follow-up) Make logic consistent The display logic for the desk details in the header bar was inconsistent between the narrow display view and the full width display view. This patch updates the former to match the latter. Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index 494c70f8e0..a74d5130b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -118,12 +118,12 @@ [% END %] - [% IF Koha.Preference('UseCirculationDesks') %] + [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
  • Desk:
    - [% IF ( Desks.GetLoggedInDeskName == '' AND Desks.ListForLibrary.count ) %] + [% IF ( Desks.GetLoggedInDeskName == '' ) %] NO DESK SET - [% ELSIF ( Desks.GetLoggedInDeskName != '' ) %] + [% ELSE %] [% Desks.GetLoggedInDeskName | html %] [% Desks.GetLoggedInDeskId | html %] [% END %] -- 2.39.5