[Library] Email composer: add subscriber e-mail in the new subscriber notification
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54772 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
977d34c2a6
commit
2109ddb8a1
|
@ -68,14 +68,14 @@ export class Composer {
|
|||
return email;
|
||||
}
|
||||
|
||||
public static composeEmailToInformManagers(communityName: string, communityId: string, managers: any): Email {
|
||||
public static composeEmailToInformManagers(communityName: string, communityId: string, managers: any, subscriberMail: any): Email {
|
||||
let email: Email = new Email();
|
||||
|
||||
email.subject = this.subjectPrefix + communityName + ": New subscriber notification";
|
||||
email.body = "<div style='font-size" + this.noteBodySize + "'>"
|
||||
+ "<p>There is a new subscriber for \"" + communityName + "\" community. Click "
|
||||
+ "<p>There is a new subscriber ("+subscriberMail+") for \"" + communityName + "\" community. Click "
|
||||
+ "<a href='https://beta.admin.connect.openaire.eu/manage-subscribers?communityId="
|
||||
+ communityId + "'>here</a> to manage the subscibers list. </p>"
|
||||
+ communityId + "'>here</a> to manage the subscribers list. </p>"
|
||||
+ this.signature
|
||||
+ "<p style='font-size:" + this.noteFontSize + "'>"
|
||||
+ this.youAreManagerOfTheCommunity(communityId, communityName)
|
||||
|
|
Loading…
Reference in New Issue