Lines 4-10
Link Here
|
4 |
[% SET return_claims = patron.return_claims %] |
4 |
[% SET return_claims = patron.return_claims %] |
5 |
[% SET logged_in_branchcode = Branches.GetLoggedInBranchcode() %] |
5 |
[% SET logged_in_branchcode = Branches.GetLoggedInBranchcode() %] |
6 |
|
6 |
|
7 |
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || charges || charges_guarantors_guarantees || charges_guarantees || credits ) %] |
7 |
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.account_locked || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || charges || charges_guarantors_guarantees || charges_guarantees || credits ) %] |
8 |
<h3>Attention</h3> |
8 |
<h3>Attention</h3> |
9 |
<ul> |
9 |
<ul> |
10 |
[% IF ( has_modifications ) %] |
10 |
[% IF ( has_modifications ) %] |
Lines 44-49
Link Here
|
44 |
</li> |
44 |
</li> |
45 |
[% END %] |
45 |
[% END %] |
46 |
|
46 |
|
|
|
47 |
[% IF patron.account_locked %] |
48 |
[% IF patron.login_attempts < 0 %] |
49 |
<li class="blocker account_admin_locked"> |
50 |
<span class="circ-hlt">Locked: </span><span> Patron's account has been administratively locked</span> |
51 |
</li> |
52 |
[% ELSE %] |
53 |
<li class="blocker account_locked"> |
54 |
<span class="circ-hlt">Locked: </span></span> Patron's account has been locked (due to [% patron.login_attempts | html %] failed login attempts)</span> |
55 |
[% IF CAN_user_borrowers_edit_borrowers %] |
56 |
<span> |
57 |
<a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | html %]">Change password</a> |
58 |
or <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&resetloginattempts=y">Reset login attempts</a> |
59 |
</span> |
60 |
[% END %] |
61 |
</li> |
62 |
[% END %] |
63 |
[% END %] |
64 |
|
47 |
[% IF ( patron.gonenoaddress ) %] |
65 |
[% IF ( patron.gonenoaddress ) %] |
48 |
<li class="gonenoaddress blocker"> |
66 |
<li class="gonenoaddress blocker"> |
49 |
<span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> |
67 |
<span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> |