Bug 24201: (QA follow-up) Hide header if desks disabled

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2020-07-20 13:37:59 +01:00 committed by Jonathan Druart
parent a02e9e3d91
commit 50e1f1abc1

View file

@ -86,7 +86,7 @@
<span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
</strong>
[% END %]
[% IF Desks.ListForLibrary.count %]
[% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
<span class="separator">|</span>
<strong>
[% IF ( Desks.GetLoggedInDeskName == '' ) %]
@ -117,6 +117,8 @@
<span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
[% END %]
</li>
[% IF Koha.Preference('UseCirculationDesks') %]
<li class="loggedin-menu-label">
Desk: <br />
[% IF ( Desks.GetLoggedInDeskName == '' AND Desks.ListForLibrary.count ) %]
@ -126,6 +128,7 @@
<span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
[% END %]
</li>
[% END %]
<li role="separator" class="loggedin-menu-label divider"></li>
[% IF ( IndependentBranches ) %]