NIHVIVO-2693 Freemarker email messaging code refactoring

This commit is contained in:
ryounes 2011-06-14 13:26:52 +00:00
parent 2fcff042e6
commit f5c44298e1
6 changed files with 46 additions and 33 deletions

View file

@ -2,7 +2,7 @@
<#-- Confirmation email for user account password reset -->
<#assign subject = "Reset password request" />
<#assign subject = "${siteName} reset password request" />
<#assign html>
<html>
@ -11,33 +11,44 @@
</head>
<body>
<p>
${userAccount.firstName} ${userAccount.lastName}
Dear ${userAccount.firstName} ${userAccount.lastName}:
</p>
<p>
<strong>Password successfully changed.</strong>
We have received a request to reset the password for your ${siteName} account (${userAccount.emailAddress}).
</p>
<p>
Your new password associated with ${userAccount.emailAddress} has been changed.
Please follow the instructions below to proceed with your password reset.
</p>
<p>
Thank you.
If you did not request this new account you can safely ignore this email.
This request will expire if not acted upon within 30 days.
</p>
<p>
Click on the link below or paste it into your browser's address bar to reset your password
using our secure server.
</p>
<p>${passwordLink}</p>
<p>Thank you!</p>
</body>
</html>
</#assign>
<#assign text>
${userAccount.firstName} ${userAccount.lastName}
Dear ${userAccount.firstName} ${userAccount.lastName}:
We received a request to reset the password for your account
We have received a request to reset the password for your ${siteName} account
(${userAccount.emailAddress}).
Please follow the instructions below to proceed with your password reset.
If you did not request this new account you can safely ignore this email.
This request will expire if not acted upon for 30 days.
This request will expire if not acted upon within 30 days.
Paste the link below into your browser's address bar to reset your password
using our secure server.