Lines 42-48
Link Here
|
42 |
<h1>Change your password </h1> |
42 |
<h1>Change your password </h1> |
43 |
|
43 |
|
44 |
[% IF ( Error_messages ) %] |
44 |
[% IF ( Error_messages ) %] |
45 |
<div class="alert alert-warning"> |
45 |
<div class="alert alert-warning" role="alert"> |
46 |
<h2>There was a problem with your submission</h2> |
46 |
<h2>There was a problem with your submission</h2> |
47 |
<p> |
47 |
<p> |
48 |
[% IF ( passwords_mismatch ) %] |
48 |
[% IF ( passwords_mismatch ) %] |
Lines 72-80
Link Here
|
72 |
<legend class="sr-only">Change your password</legend> |
72 |
<legend class="sr-only">Change your password</legend> |
73 |
<fieldset> |
73 |
<fieldset> |
74 |
[% IF ( logged_in_user.category.effective_require_strong_password ) %] |
74 |
[% IF ( logged_in_user.category.effective_require_strong_password ) %] |
75 |
<div class="alert alert-info">Your password must contain at least [% logged_in_user.category.effective_min_password_length | html %] characters, including UPPERCASE, lowercase and numbers.</div> |
75 |
<div class="alert alert-info" status="alert" |
|
|
76 |
>Your password must contain at least [% logged_in_user.category.effective_min_password_length | html %] characters, including UPPERCASE, lowercase and numbers.</div |
77 |
> |
76 |
[% ELSE %] |
78 |
[% ELSE %] |
77 |
<div class="alert alert-info">Your password must be at least [% logged_in_user.category.effective_min_password_length | html %] characters long.</div> |
79 |
<div class="alert alert-info" status="alert">Your password must be at least [% logged_in_user.category.effective_min_password_length | html %] characters long.</div> |
78 |
[% END %] |
80 |
[% END %] |
79 |
<div class="form-group"> |
81 |
<div class="form-group"> |
80 |
<label for="Oldkey">Current password:</label> |
82 |
<label for="Oldkey">Current password:</label> |
Lines 97-107
Link Here
|
97 |
</form> |
99 |
</form> |
98 |
[% END # /IF Ask_data %] |
100 |
[% END # /IF Ask_data %] |
99 |
[% ELSE %] |
101 |
[% ELSE %] |
100 |
<div class="alert alert-warning">You can't change your password.</div> |
102 |
<div class="alert alert-warning" role="alert">You can't change your password.</div> |
101 |
[% END # /IF logged_in_user.category.effective_change_password %] |
103 |
[% END # /IF logged_in_user.category.effective_change_password %] |
102 |
|
104 |
|
103 |
[% IF ( password_updated ) %] |
105 |
[% IF ( password_updated ) %] |
104 |
<div class="alert alert-info"> |
106 |
<div class="alert alert-info" role="status"> |
105 |
<strong>Password updated</strong> |
107 |
<strong>Password updated</strong> |
106 |
<br /> |
108 |
<br /> |
107 |
Your password has been changed |
109 |
Your password has been changed |
108 |
- |
|
|