From 2109ddb8a16213e672addc9fc72500876741381a Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Thu, 14 Feb 2019 09:54:55 +0000 Subject: [PATCH] [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 --- utils/email/composer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/email/composer.ts b/utils/email/composer.ts index b27bf7a7..a7b6e607 100644 --- a/utils/email/composer.ts +++ b/utils/email/composer.ts @@ -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 = "
" - + "

There is a new subscriber for \"" + communityName + "\" community. Click " + + "

There is a new subscriber ("+subscriberMail+") for \"" + communityName + "\" community. Click " + "here to manage the subscibers list.

" + + communityId + "'>here to manage the subscribers list.

" + this.signature + "

" + this.youAreManagerOfTheCommunity(communityId, communityName)