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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc (-10 / +8 lines)
Lines 53-72 Link Here
53
        [% END %]
53
        [% END %]
54
54
55
        [% IF patron.account_locked %]
55
        [% IF patron.account_locked %]
56
            [% IF patron.login_attempts < 0 %]
56
            <li class="blocker [% patron.login_attempts < 0 ? 'account_admin_locked' : 'account_locked' | html %]">
57
                <li class="blocker account_admin_locked">
57
                [% IF patron.login_attempts < 0 %]
58
                    <span class="circ-hlt">Locked: </span><span> Patron's account has been administratively locked</span>
58
                        <span class="circ-hlt">Locked: </span><span> Patron's account has been administratively locked</span>
59
                </li>
59
                [% ELSE %]
60
            [% ELSE %]
60
                    <span class="circ-hlt">Locked: </span><span> Patron's account has been locked (due to [% patron.login_attempts | html %] failed login attempts)</span>
61
                <li class="blocker account_locked">
61
                [% END %]
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 %]
62
                [% IF CAN_user_borrowers_edit_borrowers %]
64
                    <span>
63
                    <span>
65
                        <a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | uri %]">Change password</a>
64
                        <a href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | uri %]">Change password</a>
65
                        <span data-bs-toggle="tooltip" title="Resetting password will remove lock on account" data-bs-placement="right" class="fa fa-info-circle" />
66
                    </span>
66
                    </span>
67
                [% END %]
67
                [% END %]
68
                </li>
68
            </li>
69
            [% END %]
70
        [% END %]
69
        [% END %]
71
70
72
71
73
- 

Return to bug 25947