View | Details | Raw Unified | Return to bug 25947
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-2 / +20 lines)
Lines 5-11 Link Here
5
[% SET return_claims = patron.return_claims %]
5
[% SET return_claims = patron.return_claims %]
6
[% SET logged_in_branchcode = Branches.GetLoggedInBranchcode() %]
6
[% SET logged_in_branchcode = Branches.GetLoggedInBranchcode() %]
7
7
8
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || limited_category || charges || charges_guarantors_guarantees || charges_guarantees || credits ) %]
8
[% IF ( has_modifications || warndeparture || returnbeforeexpiry || expired || patron.gonenoaddress || patron.lost || userdebarred || odues || ( return_claims.count > ClaimReturnedWarningThreshold ) || age_limitations || limited_category || charges || charges_guarantors_guarantees || charges_guarantees || credits || patron.account_locked) %]
9
    <h3>Attention</h3>
9
    <h3>Attention</h3>
10
    <ul>
10
    <ul>
11
        [% IF ( has_modifications ) %]
11
        [% IF ( has_modifications ) %]
Lines 52-57 Link Here
52
            </li>
52
            </li>
53
        [% END %]
53
        [% END %]
54
54
55
        [% IF patron.account_locked %]
56
            [% IF patron.login_attempts < 0 %]
57
                <li class="blocker account_admin_locked">
58
                    <span class="circ-hlt">Locked: </span><span> Patron's account has been administratively locked</span>
59
                </li>
60
            [% ELSE %]
61
                <li class="blocker account_locked">
62
                <span class="circ-hlt">Locked: </span></span> Patron's account has been locked (due to [% patron.login_attempts | html %] failed login attempts)</span>
63
                [% IF CAN_user_borrowers_edit_borrowers %]
64
                    <span>
65
                        <a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | html %]">Change password</a>
66
                    </span>
67
                [% END %]
68
                </li>
69
            [% END %]
70
        [% END %]
71
72
73
55
        [% IF ( patron.gonenoaddress ) %]
74
        [% IF ( patron.gonenoaddress ) %]
56
            <li class="gonenoaddress blocker">
75
            <li class="gonenoaddress blocker">
57
                <span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&amp;borrowernumber=[% patron.borrowernumber | uri %]&amp;step=3#memberentry_account_flags"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
76
                <span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> <a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&amp;borrowernumber=[% patron.borrowernumber | uri %]&amp;step=3#memberentry_account_flags"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
58
- 

Return to bug 25947