Revision 54354
Added by Argiro Kokogiannaki over 5 years ago
composer.ts | ||
---|---|---|
63 | 63 |
|
64 | 64 |
return email; |
65 | 65 |
} |
66 |
|
|
67 |
public static composeEmailToInformManagers(communityName: string, communityId: string, managers: any): Email { |
|
68 |
let email: Email = new Email(); |
|
69 |
|
|
70 |
email.subject = "[OpenAIRE-Connect] " + communityName + ": New subscriber notification"; |
|
71 |
email.body = "<div style='font-size" + this.noteBodySize + "'>" |
|
72 |
+ "<p>There is a new subscriber for \"" + communityName + "\" community. Click " |
|
73 |
+ "<a href='https://beta.admin.connect.openaire.eu/manage-subscribers?communityId=" |
|
74 |
+ communityId + "'>here</a> to manage the subscibers list. </p>" |
|
75 |
+ this.signature |
|
76 |
+ "<p style='font-size:" + this.noteFontSize + "'>" |
|
77 |
+ this.youAreManagerOfTheCommunity(communityId, communityName) |
|
78 |
+ "<br>" |
|
79 |
+ this.manageNotificationSettings(communityId) |
|
80 |
+ "</p>" |
|
81 |
+ "</div>"; |
|
82 |
email.recipients = managers; |
|
83 |
|
|
84 |
return email; |
|
85 |
} |
|
86 |
|
|
66 | 87 |
} |
Also available in: Unified diff
Merged trunk changes -r 54348:54353 to elixir branch