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

(-)a/koha-tmpl/intranet-tmpl/prog/css/login.css (+2 lines)
Lines 71-81 label { Link Here
71
#login #login_error a:link,
71
#login #login_error a:link,
72
#login #login_error a:visited {
72
#login #login_error a:visited {
73
	color : #FFC;
73
	color : #FFC;
74
    text-decoration: underline;
74
}
75
}
75
76
76
#login #login_error a:hover,
77
#login #login_error a:hover,
77
#login #login_error a:active {
78
#login #login_error a:active {
78
	color : #FCFC4D;
79
	color : #FCFC4D;
80
    text-decoration: underline;
79
}
81
}
80
82
81
#login h1 {
83
#login h1 {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt (-13 / +18 lines)
Lines 70-88 Link Here
70
[% END %]
70
[% END %]
71
71
72
[% IF too_many_login_attempts %]
72
[% IF too_many_login_attempts %]
73
    <div id="login_error"><strong>Error: </strong>This account has been locked!</div>
73
    <div id="login_error">
74
    [% IF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %]
74
        <strong>Error: </strong>
75
        <a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>.
75
        This account has been locked!
76
    [% END %]
76
        [% IF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %]
77
            <a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>.
78
        [% END %]
79
    </div>
77
[% ELSIF password_has_expired %]
80
[% ELSIF password_has_expired %]
78
    <div id="login_error"><strong>Error: </strong>Your password has expired!</div>
81
    <div id="login_error">
79
    [% IF Koha.Preference('EnableExpiredPasswordReset') && Koha.Preference('OpacBaseURL') %]
82
        <strong>Error: </strong>
80
        <a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-reset-password.pl">You must reset your password</a>.
83
        Your password has expired!
81
    [% ELSIF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %]
84
        [% IF Koha.Preference('EnableExpiredPasswordReset') && Koha.Preference('OpacBaseURL') %]
82
        <a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>.
85
            <a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-reset-password.pl">You must reset your password</a>.
83
    [% ELSE %]
86
        [% ELSIF Categories.can_any_reset_password && Koha.Preference('OpacBaseURL') %]
84
        <p>You must contact the library to reset your password</p>
87
            <a href="[% Koha.Preference('OpacBaseURL') | url %]/cgi-bin/koha/opac-password-recovery.pl">You must reset your password</a>.
85
    [% END %]
88
        [% ELSE %]
89
            <p>You must contact the library to reset your password</p>
90
        [% END %]
91
    </div>
86
[% ELSIF invalid_username_or_password %]
92
[% ELSIF invalid_username_or_password %]
87
<div id="login_error"><strong>Error: </strong>Invalid username or password</div>
93
<div id="login_error"><strong>Error: </strong>Invalid username or password</div>
88
[% ELSIF is_anonymous_patron %]
94
[% ELSIF is_anonymous_patron %]
89
- 

Return to bug 37691