Lines 5-10
Link Here
|
5 |
[% USE Categories %] |
5 |
[% USE Categories %] |
6 |
[% USE Price %] |
6 |
[% USE Price %] |
7 |
[% USE KohaNews %] |
7 |
[% USE KohaNews %] |
|
|
8 |
[% PROCESS 'i18n.inc' %] |
8 |
[% SET OpacNavRight = KohaNews.get( location => "OpacNavRight", lang => lang, library => branchcode ) %] |
9 |
[% SET OpacNavRight = KohaNews.get( location => "OpacNavRight", lang => lang, library => branchcode ) %] |
9 |
[% SET OpacMainUserBlock = KohaNews.get( location => "OpacMainUserBlock", lang => lang, library => branchcode ) %] |
10 |
[% SET OpacMainUserBlock = KohaNews.get( location => "OpacMainUserBlock", lang => lang, library => branchcode ) %] |
10 |
[% SET OpacLoginInstructions = KohaNews.get( location => "OpacLoginInstructions", lang => lang, library => branchcode ) %] |
11 |
[% SET OpacLoginInstructions = KohaNews.get( location => "OpacLoginInstructions", lang => lang, library => branchcode ) %] |
Lines 218-242
Link Here
|
218 |
<h3>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</span></a></h3> |
219 |
<h3>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</span></a></h3> |
219 |
<ul id="user_summary_shortcuts"> |
220 |
<ul id="user_summary_shortcuts"> |
220 |
[% IF checkouts && checkouts > 0 %] |
221 |
[% IF checkouts && checkouts > 0 %] |
221 |
<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"><span class="user_checkouts_count count_label">[% checkouts | html %]</span> checkout(s)</a></li> |
222 |
<li> |
|
|
223 |
<a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"> |
224 |
<span class="user_checkouts_count count_label">[% checkouts | html %]</span> |
225 |
[% tn('checkout', 'checkouts', checkouts ) | html %] |
226 |
</a> |
227 |
</li> |
222 |
[% END %] |
228 |
[% END %] |
223 |
[% IF overdues && overdues > 0 %] |
229 |
[% IF overdues && overdues > 0 %] |
224 |
<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"><span class="user_overdues_count count_label">[% overdues | html %]</span> overdue(s)</a></li> |
230 |
<li> |
|
|
231 |
<a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"> |
232 |
<span class="user_overdues_count count_label">[% overdues | html %]</span> |
233 |
[% tn('overdue', 'overdues', overdues ) | html %] |
234 |
</a> |
235 |
</li> |
225 |
[% END %] |
236 |
[% END %] |
226 |
[% IF holds_pending && holds_pending > 0 %] |
237 |
[% IF holds_pending && holds_pending > 0 %] |
227 |
<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_pending_count count_label">[% holds_pending | html %]</span> hold(s) pending</a></li> |
238 |
<li> |
|
|
239 |
<a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"> |
240 |
<span class="user_holds_pending_count count_label">[% holds_pending | html %]</span> |
241 |
[% tn('hold pending', 'holds pending', holds_pending ) | html %] |
242 |
</a> |
243 |
</li> |
228 |
[% END %] |
244 |
[% END %] |
229 |
[% IF holds_waiting && holds_waiting > 0 %] |
245 |
[% IF holds_waiting && holds_waiting > 0 %] |
230 |
<li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_waiting_count count_label">[% holds_waiting | html %]</span> hold(s) waiting</a></li> |
246 |
<li> |
|
|
247 |
<a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"> |
248 |
<span class="user_holds_waiting_count count_label">[% holds_waiting | html %]</span> |
249 |
[% tn('hold waiting', 'holds waiting', holds_waiting ) | html %] |
250 |
</a> |
251 |
</li> |
231 |
[% END %] |
252 |
[% END %] |
232 |
[% IF total_owing && total_owing > 0 %] |
253 |
[% IF total_owing && total_owing > 0 %] |
233 |
<li><a href="/cgi-bin/koha/opac-account.pl"><span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> due in fines and charges</a></li> |
254 |
<li> |
|
|
255 |
<a href="/cgi-bin/koha/opac-account.pl"> |
256 |
<span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> |
257 |
due in fines and charges |
258 |
</a> |
259 |
</li> |
234 |
[% END %] |
260 |
[% END %] |
235 |
[% IF patron_messages && patron_messages.count > 0 || opacnote %] |
261 |
[% IF patron_messages && patron_messages.count > 0 || opacnote %] |
236 |
[% IF opacnote %] |
262 |
[% IF opacnote %] |
237 |
<li><a href="/cgi-bin/koha/opac-user.pl"><span class="count_label">[% patron_messages.count + 1 | html %]</span> message(s)</a></li> |
263 |
<li> |
|
|
264 |
<a href="/cgi-bin/koha/opac-user.pl"> |
265 |
<span class="count_label">[% patron_messages.count + 1 | html %]</span> |
266 |
[% tn('message', 'messages', patron_messages.count + 1 ) | html %] |
267 |
</a> |
268 |
</li> |
238 |
[% ELSE %] |
269 |
[% ELSE %] |
239 |
<li><a href="/cgi-bin/koha/opac-user.pl"><span class="count_label">[% patron_messages.count | html %]</span> message(s)</a></li> |
270 |
<li> |
|
|
271 |
<a href="/cgi-bin/koha/opac-user.pl"> |
272 |
<span class="count_label">[% patron_messages.count | html %]</span> |
273 |
[% tn('message', 'messages', patron_messages.count ) | html %] |
274 |
</a> |
275 |
</li> |
240 |
[% END %] |
276 |
[% END %] |
241 |
[% END %] |
277 |
[% END %] |
242 |
</ul> |
278 |
</ul> |
243 |
- |
|
|