mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
Change the password expiration message to be more precise.
This commit is contained in:
parent
ab67029d94
commit
74d0fba899
@ -29,10 +29,10 @@ else:
|
||||
?>
|
||||
|
||||
<div py:if='pw_expires_soon' class="warning_message">
|
||||
Password will expire in ${pw_expires_days} day${days_suffix}
|
||||
${user.get("uid")}'s password will expire in ${pw_expires_days} day${days_suffix}
|
||||
</div>
|
||||
<div py:if='pw_is_expired' class="warning_message">
|
||||
Password has expired
|
||||
${user.get("uid")}'s password has expired
|
||||
</div>
|
||||
|
||||
${form.display(action=tg.url('/user/update'), value=user, user_groups=user_groups)}
|
||||
|
@ -28,10 +28,10 @@ else:
|
||||
?>
|
||||
|
||||
<div id="alertbox" py:if='pw_expires_soon' class="warning_message">
|
||||
Password will expire in ${pw_expires_days} day${days_suffix}
|
||||
${user.get("uid")}'s password will expire in ${pw_expires_days} day${days_suffix}
|
||||
</div>
|
||||
<div id="alertbox" py:if='pw_is_expired' class="warning_message">
|
||||
Password has expired
|
||||
${user.get("uid")}'s password has expired
|
||||
</div>
|
||||
|
||||
<h2 class="formsection">Identity Details</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user