|
Lines 76-81
Link Here
|
| 76 |
</ul> <!-- / .dropdown-menu --> |
76 |
</ul> <!-- / .dropdown-menu --> |
| 77 |
</li> <!-- / .dropdown --> |
77 |
</li> <!-- / .dropdown --> |
| 78 |
[% END # / IF virtualshelves %] |
78 |
[% END # / IF virtualshelves %] |
|
|
79 |
|
| 80 |
[% IF Koha.Preference('SearchMyLibraryFirst') %] |
| 81 |
<li class="divider-vertical set-search-first-library"></li> |
| 82 |
<li class="dropdown set-search-first-library"> |
| 83 |
<a id="listmenu" class="dropdown-toggle" role="button" data-toggle="dropdown" href="#"</a> |
| 84 |
<i class="icon-home icon-white"></i> |
| 85 |
<span class="listslabel"> |
| 86 |
[% IF ( mylibraryfirst ) %] |
| 87 |
[% FOREACH BranchesLoo IN BranchesLoop %] |
| 88 |
[% IF (BranchesLoo.selected) %] |
| 89 |
[% BranchesLoo.branchname %] |
| 90 |
[% END %] |
| 91 |
[% END %] |
| 92 |
[% ELSE %] |
| 93 |
<span id="set-library-label-default">Libraries</span> |
| 94 |
[% END %] |
| 95 |
</span> |
| 96 |
<b class="caret"></b> |
| 97 |
</a> |
| 98 |
|
| 99 |
<ul class="dropdown-menu" role="menu"> |
| 100 |
[% FOREACH BranchesLoo IN BranchesLoop %] |
| 101 |
[% IF (BranchesLoo.selected) %]<li class="active" role="presentation">[% ELSE %]<li role="presentation">[% END %] |
| 102 |
<a role="menuitem" tabindex="-1" href="/cgi-bin/koha/opac-setbranch.pl?newbranch=[% BranchesLoo.value %]"> |
| 103 |
[% BranchesLoo.branchname %] |
| 104 |
</a> |
| 105 |
</li> |
| 106 |
[% END %] |
| 107 |
<li role="presentation"> |
| 108 |
<a role="menuitem" tabindex="-1" href="/cgi-bin/koha/opac-setbranch.pl" class="set-search-first-library-clear"> |
| 109 |
<i class="icon-remove-circle"></i> Clear selection |
| 110 |
</a> |
| 111 |
</ul> |
| 112 |
</li> |
| 113 |
[% END %] |
| 114 |
|
| 115 |
|
| 79 |
</ul> <!-- / .nav --> |
116 |
</ul> <!-- / .nav --> |
| 80 |
[% IF Koha.Preference( 'virtualshelves' ) == 1 %]<div id="listsDetails"></div>[% END %] |
117 |
[% IF Koha.Preference( 'virtualshelves' ) == 1 %]<div id="listsDetails"></div>[% END %] |
| 81 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 || opaclanguagesdisplay || EnableOpacSearchHistory %] |
118 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 || opaclanguagesdisplay || EnableOpacSearchHistory %] |