Link Here
|
3 |
[% USE Desks %] |
3 |
[% USE Desks %] |
4 |
[% USE Registers %] |
4 |
[% USE Registers %] |
5 |
[% USE Koha %] |
5 |
[% USE Koha %] |
|
|
6 |
[% PROCESS 'i18n.inc' %] |
6 |
[% IF Koha.Preference( 'CookieConsent' ) %] |
7 |
[% IF Koha.Preference( 'CookieConsent' ) %] |
7 |
[% USE JSConsents %] |
8 |
[% USE JSConsents %] |
8 |
[% END %] |
9 |
[% END %] |
Link Here
|
85 |
|
86 |
|
86 |
<ul id="user-menu" class="nav navbar-nav navbar-right"> |
87 |
<ul id="user-menu" class="nav navbar-nav navbar-right"> |
87 |
[% IF ( loggedinusername ) %] |
88 |
[% IF ( loggedinusername ) %] |
88 |
<li class="dropdown"> |
89 |
<li class="dropdown" id="logged-in-dropdown"> |
89 |
<a href="#" id="logged-in-menu" role="button" class="dropdown-toggle" data-toggle="dropdown"> |
90 |
<a href="#" id="logged-in-menu" role="button" class="dropdown-toggle" data-toggle="dropdown"> |
90 |
<span id="logged-in-info-brief"> |
91 |
<span id="logged-in-info-brief"> |
91 |
<i class="fa fa-user"></i> |
92 |
<i class="fa fa-user"></i> |
Link Here
|
163 |
</li> |
164 |
</li> |
164 |
[% END %] |
165 |
[% END %] |
165 |
|
166 |
|
166 |
[% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %] |
167 |
[% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary || Koha.Preference('UseCirculationDesks') || Koha.Preference('UseCashRegisters') ) %] |
167 |
<li role="separator" class="loggedin-menu-label divider"></li> |
168 |
<li role="separator" class="loggedin-menu-label divider"></li> |
168 |
<li> |
169 |
<li> |
169 |
[% IF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %] |
170 |
<div id="set_library_controls"> |
170 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library, desk and register</a> |
171 |
<div> |
171 |
[% ELSIF Koha.Preference('UseCirculationDesks') %] |
172 |
<a class="btn btn-link" href="/cgi-bin/koha/circ/set-library.pl"> |
172 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a> |
173 |
[% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %] |
173 |
[% ELSIF Koha.Preference('UseCashRegisters') %] |
174 |
[% IF ( Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') ) %] |
174 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library and cash register</a> |
175 |
[% t("Set library, desk, and register") | html %] |
175 |
[% ELSE %] |
176 |
[% ELSIF ( Koha.Preference('UseCirculationDesks') ) %] |
176 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library</a> |
177 |
[% t("Set library and desk") | html %] |
177 |
[% END %] |
178 |
[% ELSIF ( Koha.Preference('UseCashRegisters') ) %] |
178 |
</li> |
179 |
[% t("Set library and cash register") | html %] |
|
|
180 |
[% ELSE %] |
181 |
[% t("Set library") | html %] |
182 |
[% END %] |
183 |
[% ELSIF ( Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') ) %] |
184 |
[% t("Set desk and cash register") | html %] |
185 |
[% ELSIF ( Koha.Preference('UseCashRegisters') ) %] |
186 |
[% t("Set cash register") | html %] |
187 |
[% ELSIF ( Koha.Preference('UseCirculationDesks') ) %] |
188 |
[% t("Set desk") | html %] |
189 |
[% END %] |
190 |
</a> |
191 |
</div> |
192 |
[% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary || Koha.Preference('UseCirculationDesks') || Koha.Preference('UseCashRegisters') ) %] |
193 |
<div> |
194 |
<a id="branch_select_cog" class="btn btn-link" href="#"><i class="fa fa-cog" aria-label="Toggle panel for login settings"></i></a> |
195 |
</div> |
196 |
[% END %] |
197 |
</div> |
198 |
</li> |
199 |
|
200 |
<li id="setlibrary_panel" style="display:none"></li> |
201 |
<li> |
179 |
[% ELSIF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %] |
202 |
[% ELSIF Koha.Preference('UseCirculationDesks') && Koha.Preference('UseCashRegisters') %] |
180 |
<li role="separator" class="loggedin-menu-label divider"></li> |
203 |
<li role="separator" class="loggedin-menu-label divider"></li> |
181 |
<li> |
204 |
<li> |
182 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk and cash register</a> |
205 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk and cash register</a> |
183 |
</li> |
206 |
</li> |
184 |
[% ELSIF Koha.Preference('UseCirculationDesks') %] |
207 |
[% ELSIF Koha.Preference('UseCirculationDesks') %] |
185 |
<li role="separator" class="loggedin-menu-label divider"></li> |
208 |
<li role="separator" class="loggedin-menu-label divider"></li> |
186 |
<li> |
209 |
<li> |
187 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk</a> |
210 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk</a> |
188 |
</li> |
211 |
</li> |
189 |
[% ELSIF Koha.Preference('UseCashRegisters') %] |
212 |
[% ELSIF Koha.Preference('UseCashRegisters') %] |
190 |
<li role="separator" class="loggedin-menu-label divider"></li> |
213 |
<li role="separator" class="loggedin-menu-label divider"></li> |
191 |
<li> |
214 |
<li> |
192 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set cash register</a> |
215 |
<a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set cash register</a> |
193 |
</li> |
216 |
</li> |
194 |
[% END %] |
217 |
[% END %] |
195 |
[% IF EnableSearchHistory %] |
218 |
[% IF EnableSearchHistory %] |
196 |
<li> |
219 |
<li> |
197 |
<a class="toplinks" href="/cgi-bin/koha/catalogue/search-history.pl">Search history</a> |
220 |
<a class="toplinks" href="/cgi-bin/koha/catalogue/search-history.pl">Search history</a> |
198 |
</li> |
221 |
</li> |
199 |
[% END %] |
222 |
[% END %] |
200 |
|
223 |
|
201 |
[% IF loggedinusernumber %] |
224 |
[% IF loggedinusernumber %] |