Lines 129-135
Link Here
|
129 |
<li class="nav-item dropdown dropdown-menu-end"> |
129 |
<li class="nav-item dropdown dropdown-menu-end"> |
130 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] |
130 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] |
131 |
[% IF ( loggedinusername ) %] |
131 |
[% IF ( loggedinusername ) %] |
132 |
<a href="/cgi-bin/koha/opac-user.pl" class="nav-link dropdown-toggle" id="user-menu" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> |
132 |
<a href="/cgi-bin/koha/opac-user.pl" class="nav-link dropdown-item dropdown-toggle" id="user-menu" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> |
133 |
<i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> |
133 |
<i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> |
134 |
<span class="userlabel">Welcome, [% INCLUDE 'patron-title.inc' patron = logged_in_user no_html = 1 %]</span> |
134 |
<span class="userlabel">Welcome, [% INCLUDE 'patron-title.inc' patron = logged_in_user no_html = 1 %]</span> |
135 |
</a> |
135 |
</a> |
Lines 153-162
Link Here
|
153 |
[% END %] |
153 |
[% END %] |
154 |
|
154 |
|
155 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 && loggedinusername ) %] |
155 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 && loggedinusername ) %] |
156 |
<div aria-labelledby="user-menu" role="menu" class="dropdown-menu dropdown-menu-end"> |
156 |
<ul aria-labelledby="user-menu" role="menu" class="dropdown-menu dropdown-menu-end"> |
157 |
<div id="loggedinuser-menu"> |
157 |
<div id="loggedinuser-menu"> |
158 |
<p> |
158 |
<li> |
159 |
<a class="login-link" href="/cgi-bin/koha/opac-user.pl" |
159 |
<a class="login-link dropdown-item" href="/cgi-bin/koha/opac-user.pl" |
160 |
><span |
160 |
><span |
161 |
class="loggedinusername" |
161 |
class="loggedinusername" |
162 |
data-borrowernumber="[% logged_in_user.borrowernumber | html %]" |
162 |
data-borrowernumber="[% logged_in_user.borrowernumber | html %]" |
Lines 165-190
Link Here
|
165 |
>Your account</span |
165 |
>Your account</span |
166 |
></a |
166 |
></a |
167 |
> |
167 |
> |
168 |
</p> |
168 |
</li> |
169 |
[% IF Koha.Preference( 'EnableOpacSearchHistory' ) %] |
169 |
[% IF Koha.Preference( 'EnableOpacSearchHistory' ) %] |
170 |
<p> |
170 |
<li id="search-history"> |
171 |
<a tabindex="0" role="menuitem" class="login-link" href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> |
171 |
<div> |
172 |
<span class="divider-vertical"></span> |
172 |
<a tabindex="0" role="menuitem" class="login-link dropdown-item" href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> |
173 |
<a |
173 |
</div> |
174 |
class="clearsh submit-form-link" |
174 |
<div> |
175 |
href="#" |
175 |
<span class="divider-vertical"></span> |
176 |
data-method="post" |
176 |
</div> |
177 |
data-action="/cgi-bin/koha/opac-search-history.pl" |
177 |
<div> |
178 |
data-op="cud-delete" |
178 |
<a |
179 |
data-confirmation-msg="[% t('Are you sure you want to delete your search history?') | html %]" |
179 |
class="clearsh dropdown-item submit-form-link" |
180 |
title="Delete your search history" |
180 |
href="#" |
181 |
><i class="fa fa-trash-can" aria-hidden="true"></i> Clear</a |
181 |
data-method="post" |
182 |
> |
182 |
data-action="/cgi-bin/koha/opac-search-history.pl" |
183 |
</p> |
183 |
data-op="cud-delete" |
|
|
184 |
data-confirmation-msg="[% t('Are you sure you want to delete your search history?') | html %]" |
185 |
title="Delete your search history" |
186 |
><i class="fa fa-trash-can" aria-hidden="true"></i>Clear</a |
187 |
> |
188 |
</div> |
189 |
</li> |
184 |
[% END %] |
190 |
[% END %] |
185 |
<a tabindex="0" role="menuitem" class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log out</a> |
191 |
<li> |
|
|
192 |
<a tabindex="0" role="menuitem" class="logout dropdown-item" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log out</a> |
193 |
</li> |
186 |
</div> |
194 |
</div> |
187 |
</div> |
195 |
</ul> |
188 |
[% END %] |
196 |
[% END %] |
189 |
</li> |
197 |
</li> |
190 |
<!-- Cookie consent button for non logged-in users --> |
198 |
<!-- Cookie consent button for non logged-in users --> |
191 |
- |
|
|