6 <div class="navbar-header">
7 <a href="#" class="header-menu-link collapsed" data-toggle="collapse" data-target="#header" aria-expanded="false" aria-controls="header">
8 <i class="fa fa-bars"></i> Menu
11 <div id="header" class="navbar-collapse collapse">
12 <ul id="toplevelmenu" class="nav navbar-nav">
13 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
14 [% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
15 <li id="catalog-search-link">
16 <a href="/cgi-bin/koha/catalogue/search.pl">Search</a>
18 <li class="dropdown" id="catalog-search-dropdown">
19 <a href="/cgi-bin/koha/catalogue/search.pl" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b></a>
20 <ul class="dropdown-menu dropdown-menu-right">
21 [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></li>
22 <li><a href="/cgi-bin/koha/catalogue/itemsearch.pl">Item search</a></li>[% END %]
25 [% IF ( intranetbookbag ) %]
27 <a href="#" id="cartmenulink"><i class="fa fa-shopping-cart"></i>Cart<span id="basketcount"></span></a>
30 [% IntranetNav | $raw %]
32 <a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
33 <ul class="dropdown-menu dropdown-menu-right">
34 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></li>
35 [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
36 <li><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></li>
38 [% IF ( CAN_user_acquisition ) %]
39 <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></li>
41 <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
42 [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
43 <li><a href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a></li>
45 [% IF ( CAN_user_serials ) %]
46 <li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
48 [% IF ( UseCourseReserves ) %]
49 <li><a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></li>
51 [% IF ( CAN_user_reports ) %]
52 <li><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></li>
54 [% IF ( CAN_user_tools ) %]
55 <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></li>
57 [% IF ( Koha.Preference('EnablePointOfSale') && Koha.Preference('UseCashRegisters') && CAN_user_cash_management_takepayment ) %]
58 <li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
60 [% IF ( CAN_user_parameters ) %]
61 <li><a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a></li>
63 <li><a href="/cgi-bin/koha/about.pl">About Koha</a></li>
68 <ul id="user-menu" class="nav navbar-nav navbar-right">
69 [% IF ( loggedinusername ) %]
71 <a href="#" id="logged-in-menu" role="button" class="dropdown-toggle" data-toggle="dropdown">
72 <span id="logged-in-info-brief">
73 <i class="fa fa-user"></i>
75 <span id="logged-in-info-full">
76 [% SET is_superlibrarian = CAN_user_superlibrarian ? 'is_superlibrarian' : '' %]
77 <span class="loggedinusername [% is_superlibrarian | html %]">[% logged_in_user.userid | html %]</span>
78 <span class="separator">|</span>
79 [% IF ( AutoLocation ) %]
81 [% Branches.GetLoggedInBranchname | html %]
85 <span class="logged-in-branch-name">[% Branches.GetLoggedInBranchname | html %]</span>
86 <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
89 [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
90 <span class="separator">|</span>
92 [% IF ( Desks.GetLoggedInDeskName == '' ) %]
93 <span class="logged-in-desk-name">NO DESK SET</span>
95 <span class="logged-in-desk-name">[% Desks.GetLoggedInDeskName | html %]</span>
96 <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span>
101 <b class="caret"></b>
103 <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="logged-in-menu">
105 <li class="loggedin-menu-label">
107 <span class="loggedinusername">[% logged_in_user.userid | html %]</span>
109 <li class="loggedin-menu-label">
110 [% IF ( AutoLocation ) %]
112 [% Branches.GetLoggedInBranchname | html %]
116 <span class="logged-in-branch-name">[% Branches.GetLoggedInBranchname | html %]</span>
117 <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
121 [% IF Koha.Preference('UseCirculationDesks') && Desks.ListForLibrary.count %]
122 <li class="loggedin-menu-label">
124 [% IF ( Desks.GetLoggedInDeskName == '' ) %]
125 <span class="logged-in-desk-name">NO DESK SET</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>
133 [% IF !( Koha.Preference('IndependentBranches') && !CAN_user_superlibrarian && !CAN_user_editcatalogue_edit_catalogue ) %]
134 <li role="separator" class="loggedin-menu-label divider"></li>
136 [% IF Koha.Preference('UseCirculationDesks') %]
137 <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
139 <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
142 [% ELSIF Koha.Preference('UseCirculationDesks') %]
143 <li role="separator" class="loggedin-menu-label divider"></li>
145 <a class="toplinks" href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
148 [% IF EnableSearchHistory %]
150 <a class="toplinks" href="/cgi-bin/koha/catalogue/search-history.pl">Search history</a>
153 [% IF loggedinusernumber %]
154 <li class ="toplinks-myaccount">
155 <a class="toplinks" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loggedinusernumber | html %]">My account</a>
157 <li class="toplinks-mycheckouts">
158 <a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber | html %]">My checkouts</a>
162 <a id="logout" class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log out</a>
166 [% INCLUDE 'langmenu-staff-top.inc' %]
168 <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
171 <li class="loggedout">
173 <a href="/cgi-bin/koha/mainpage.pl" id="login">Log in</a>
174 <span class="separator">|</span>
175 <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
181 [% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %]
182 [% IF ( intranetbookbag ) %]<div id="cartDetails">Your cart is empty.</div>[% END %]