revised email text

git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portal/invites-common-library@130565 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-07-19 16:04:43 +00:00
parent 7b883e7a03
commit 27d99c0ed6
1 changed files with 8 additions and 5 deletions

View File

@ -153,11 +153,12 @@ public class InvitesManager {
String linkToAcceptInvite,
String linkToCreateAccount) {
linkToAcceptInvite = " <a href=\"" + linkToAcceptInvite + "\">" + linkToAcceptInvite + "</a> ";
linkToCreateAccount = " <a href=\"" + linkToCreateAccount + "\">" + linkToCreateAccount + "</a> ";
StringBuilder body = new StringBuilder();
body.append("Dear " + name)
body.append("<div style=\"color:#000; font-size:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif;\">")
.append("Dear " + name)
.append(", <p>")
.append(fromFullName).append(" has invited you to " + vreName + ", you can find a brief description below:")
.append("</p>")
@ -165,8 +166,10 @@ public class InvitesManager {
.append("</p>")
.append("<p>To accept the invite just follow this link: " + linkToAcceptInvite)
.append("</p>")
.append("Please note: if you do not have an account yet, sign up first: " + linkToCreateAccount);
.append("</p>")
.append("Please note: if you do not have an account yet, sign up first: " + linkToCreateAccount)
.append("</p>")
.append("</div>");
return body.toString();
}