View | Details | Raw Unified | Return to bug 24201
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-4 / +3 lines)
Lines 118-129 Link Here
118
                        [% END %]
118
                        [% END %]
119
                    </li>
119
                    </li>
120
120
121
                    [% IF Koha.Preference('UseCirculationDesks') %]
121
                    [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
122
                    <li class="loggedin-menu-label">
122
                    <li class="loggedin-menu-label">
123
                        Desk: <br />
123
                        Desk: <br />
124
                        [% IF ( Desks.GetLoggedInDeskName == '' AND Desks.ListForLibrary.count ) %]
124
                        [% IF ( Desks.GetLoggedInDeskName == '' ) %]
125
                           <span class="logged-in-desk-name">NO DESK SET</span>
125
                           <span class="logged-in-desk-name">NO DESK SET</span>
126
                        [% ELSIF ( Desks.GetLoggedInDeskName != '' ) %]
126
                        [% ELSE %]
127
                            <span class="logged-in-desk-name">[% Desks.GetLoggedInDeskName | html %]</span>
127
                            <span class="logged-in-desk-name">[% Desks.GetLoggedInDeskName | html %]</span>
128
                            <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
128
                            <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
129
                        [% END %]
129
                        [% END %]
130
- 

Return to bug 24201