Change the password expiration message to be more precise.

This commit is contained in:
Rob Crittenden 2007-11-29 16:43:38 -05:00
parent ab67029d94
commit 74d0fba899
2 changed files with 4 additions and 4 deletions

View File

@ -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)}

View File

@ -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>