Skip to content

Commit 052f406

Browse files
committed
Update link text and add explanatory message in the dialogue to make it clearer that it will also send a reminder of the user's user name.
1 parent 5a57866 commit 052f406

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
link.forgotPass=Forgotten Password?
1+
link.forgotPass=Forgotten User Name / Password?
2+
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.
23
message.passwordSent=Your password was reset successfully. Please check your e-mail for further instructions.
34
message.unknownErrorTitle=Error
4-
message.unknownError=An unknown error occurred. Please contact your administrator.
5+
message.unknownError=An unknown error occurred. Please contact your administrator.

config/alfresco/site-webscripts/org/sharextras/modules/reset-password-dialog.get.html.ftl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div id="${args.htmlid}-resetPasswordDialog" class="reset-password-dialog">
22
<div class="hd">${msg("label.header")}</div>
33
<div class="bd">
4+
<p>${msg("message.reset")}</p>
45
<form id="${args.htmlid}-form" action="" method="POST">
56
<div class="yui-gd">
67
<div class="yui-u first"><label for="${args.htmlid}-email">${msg("label.email")}:</label></div>
@@ -14,4 +15,4 @@
1415
</div>
1516
</form>
1617
</div>
17-
</div>
18+
</div>
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
.alfresco-guest .theme-overlay
22
{
33
height: auto !important;
4-
}
4+
}
5+
/* Add padding to the explanatory text */
6+
.alfresco-share .yui-panel-container .reset-password-dialog.yui-panel p
7+
{
8+
padding: 10px 10px 3px 10px;
9+
}

source/web/extras/components/guest/custom-guest-reset-password.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (typeof Extras === undefined || !Extras)
3434
{
3535
this.resetPasswordDialog = new Alfresco.module.SimpleDialog("resetPasswordDialog").setOptions(
3636
{
37-
width: "30em",
37+
width: "35em",
3838
templateUrl: Alfresco.constants.URL_SERVICECONTEXT + "extras/modules/reset-password-dialog",
3939
actionUrl: actionUrl,
4040
onSuccess:

0 commit comments

Comments
 (0)