Change email's subject and body

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@53962 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-11-26 10:51:48 +00:00
parent 3ad5e53db2
commit 7e415f8a7d
1 changed files with 3 additions and 2 deletions

View File

@ -241,8 +241,9 @@ export class CommunityEditFormComponent implements OnInit{
}
private composeEmailForNewManager(communityName: string, newCommunityManagers: any): Email {
this.email.subject = "[OpenAIRE-Connect] " + communityName + ": Manager";
this.email.body = "<div style='font-size:14px;'><p>You are receiving this e-mail as you were assigned as manager of the community <a href='https://beta."
this.email.subject = "[OpenAIRE-Connect] " + communityName + ": Welcome new manager";
this.email.body = "<div style='font-size:14px;'><p>Welcome to OpenAIRE Connect</p>"
+ "<p>You are receiving this e-mail as you were assigned as manager of the community <a href='https://beta."
+ this.communityId + ".openaire.eu/'>" + "\"" + communityName + "\"" + "</a> dashboard. "
+ "In order to access the administration section of your community you must first login using one of the available options. "
+ "<br>The administrative rights are associated to the e-mail address, that was used to send you this message."