- </div>
- <div id="login">
- [% IF ( AutoLocation ) %]
- <strong>
- [% LoginBranchname %]
- </strong>
- [% ELSE %]
- <strong>
- [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
- NO LIBRARY SET
- [% ELSE %]
- [% LoginBranchname %]
- [% END %]
- </strong>
- [% IF ( IndependantBranches ) %]
- [% IF ( CAN_user_management || CAN_user_editcatalogue_edit_catalogue ) %]
- (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>)
- [% END %]
- [% ELSE %]
- (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>)
- [% END %]
- |
- [% END %]
- [% IF ( loggedinusername ) %]
- <span class="loggedinusername">
- [% loggedinusername %]
- </span>
- [% IF ( intranetbookbag ) %]
- (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor(); delBasket('main', true);">Log out</a>) |
- [% ELSE %]
- (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor();">Log out</a>) |
- [% END %]
- [% ELSE %]
- You are not logged in |
- [% END %]
- <a href="/cgi-bin/koha/help.pl" id="helper" onclick="var link=window.open('','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); link.location='/cgi-bin/koha/help.pl'; return false;">[ ? ]</a>
- </div>
-</div>
+ <ul class="nav pull-right">
+ <li class="dropdown">
+ <a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">
+ [% IF ( loggedinusername ) %]
+ <span class="loggedinusername">
+ [% loggedinusername %]
+ </span>
+ <span class="separator">|</span>
+ [% IF ( AutoLocation ) %]
+ <brand>
+ [% LoginBranchname %]
+ </brand>
+ [% ELSE %]
+ <strong>
+ [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
+ NO LIBRARY SET
+ [% ELSE %]
+ [% LoginBranchname %]
+ [% END %]
+ </strong>
+ [% END %]
+ <b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
+ [% IF ( IndependantBranches ) %]
+ [% IF ( CAN_user_management || CAN_user_editcatalogue_edit_catalogue ) %]
+ <li>
+ <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
+ </li>
+ [% END %]
+ [% ELSE %]
+ <li>
+ <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
+ </li>
+ [% END %]
+ [% IF ( intranetbookbag ) %]
+ <li>
+ <a class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor(); delBasket('main', true);">Log out</a>
+ </li>
+ [% ELSE %]
+ <li>
+ <a class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor();">Log out</a>
+ </li>
+ [% END %]
+ [% ELSE %]
+ You are not logged in |
+ [% END %]
+ </ul>
+ <li>
+ <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper" onclick="var link=window.open('','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); link.location='/cgi-bin/koha/help.pl'; return false;">Help</a>
+ </li>
+ </li>
+ </ul>
+ </div>
+ </div>
+[% IF ( intranetbookbag ) %]<div id="cartDetails">Your cart is empty.</div>[% END %]
+</div>