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"> <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>
<div py:if='pw_is_expired' class="warning_message"> <div py:if='pw_is_expired' class="warning_message">
Password has expired ${user.get("uid")}'s password has expired
</div> </div>
${form.display(action=tg.url('/user/update'), value=user, user_groups=user_groups)} ${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"> <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>
<div id="alertbox" py:if='pw_is_expired' class="warning_message"> <div id="alertbox" py:if='pw_is_expired' class="warning_message">
Password has expired ${user.get("uid")}'s password has expired
</div> </div>
<h2 class="formsection">Identity Details</h2> <h2 class="formsection">Identity Details</h2>