Add email's body initialization

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54447 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-12-18 12:58:46 +00:00
parent 5a587eb22f
commit 90fc009b7a
1 changed files with 9 additions and 0 deletions

View File

@ -103,4 +103,13 @@ export class Composer {
return formattedEmail;
}
public static initializeInvitationEmailsBody(communityId: string, communityTitle: string): string {
return '<p>You are invited to subscribe to <a href="https://beta.' + communityId + '.openaire.eu/">'
+ communityTitle + '</a> dashboard.<br>'
+ 'The purpose of this dashboard is to gather, link &amp; monitor the research results related to your community.</p>'
+ '<p>The community dashboard is part of the <a href="https://connect.openaire.eu/">OpenAIRE-Connect</a> '
+ 'project and currently is in BETA version.'
+ '</p>';
}
}