Skip to content

Commit

Permalink
Update link text and add explanatory message in the dialogue to make …
Browse files Browse the repository at this point in the history
…it clearer that it will also send a reminder of the user's user name.
  • Loading branch information
wabson committed Mar 11, 2013
1 parent 5a57866 commit 052f406
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions config/alfresco/messages/reset-user-password.properties
@@ -1,4 +1,5 @@
link.forgotPass=Forgotten Password?
link.forgotPass=Forgotten User Name / Password?
message.reset=Enter the email address you are registered with in Alfresco. You will be sent a new password and a reminder of your user name.
message.passwordSent=Your password was reset successfully. Please check your e-mail for further instructions.
message.unknownErrorTitle=Error
message.unknownError=An unknown error occurred. Please contact your administrator.
message.unknownError=An unknown error occurred. Please contact your administrator.
@@ -1,6 +1,7 @@
<div id="${args.htmlid}-resetPasswordDialog" class="reset-password-dialog">
<div class="hd">${msg("label.header")}</div>
<div class="bd">
<p>${msg("message.reset")}</p>
<form id="${args.htmlid}-form" action="" method="POST">
<div class="yui-gd">
<div class="yui-u first"><label for="${args.htmlid}-email">${msg("label.email")}:</label></div>
Expand All @@ -14,4 +15,4 @@
</div>
</form>
</div>
</div>
</div>
@@ -1,4 +1,9 @@
.alfresco-guest .theme-overlay
{
height: auto !important;
}
}
/* Add padding to the explanatory text */
.alfresco-share .yui-panel-container .reset-password-dialog.yui-panel p
{
padding: 10px 10px 3px 10px;
}
Expand Up @@ -34,7 +34,7 @@ if (typeof Extras === undefined || !Extras)
{
this.resetPasswordDialog = new Alfresco.module.SimpleDialog("resetPasswordDialog").setOptions(
{
width: "30em",
width: "35em",
templateUrl: Alfresco.constants.URL_SERVICECONTEXT + "extras/modules/reset-password-dialog",
actionUrl: actionUrl,
onSuccess:
Expand Down

0 comments on commit 052f406

Please sign in to comment.