diff --git a/utils/email/composer.ts b/utils/email/composer.ts index c4e6f284..061d2ba7 100644 --- a/utils/email/composer.ts +++ b/utils/email/composer.ts @@ -195,16 +195,15 @@ export class Composer { // TODO remove this after adding this on admin public static initializeInvitationsBody(communityId: string, communityTitle: string, fullname: string): Body { let body: Body = new Body(); - let defaultMainBody; + let defaultMainBody = '
You are invited to subscribe to '
+ + communityTitle + ' dashboard.
';
if(communityId !== 'covid-19') {
- defaultMainBody ='
You are invited to subscribe to '
- + communityTitle + ' dashboard.
'
- + 'The purpose of this dashboard is to gather, link & monitor the research results related to your community.
The community dashboard is part of the OpenAIRE-Connect ' + 'project.' + '
'; } else { - defaultMainBody = 'This is a dashboard that gathers, links & monitors research results related COVID-19 (multi-disciplinary) from authoritative OA sources around the world. ' + + defaultMainBody += 'This is a dashboard that gathers, links & monitors research results related COVID-19 (multi-disciplinary) from authoritative OA sources around the world. ' + 'We have a community of experts moderating and curating the content.
' + 'What you can do:
' + '