[Library | Trunk]: Change invite message for covid-19
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58652 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
b6f936868e
commit
72b48a0811
|
@ -146,15 +146,30 @@ export class Composer {
|
||||||
|
|
||||||
return formattedEmail;
|
return formattedEmail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO remove this after adding this on admin
|
||||||
public static initializeInvitationsBody(communityId: string, communityTitle: string, fullname: string): Body {
|
public static initializeInvitationsBody(communityId: string, communityTitle: string, fullname: string): Body {
|
||||||
let body: Body = new Body();
|
let body: Body = new Body();
|
||||||
let defaultMainBody = '<p>You are invited to subscribe to <a href="https://beta.' + communityId + '.openaire.eu/">'
|
let defaultMainBody;
|
||||||
+ communityTitle + '</a> dashboard.<br>'
|
if(communityId !== 'covid-19') {
|
||||||
+ 'The purpose of this dashboard is to gather, link & monitor the research results related to your community.</p>'
|
defaultMainBody ='<p>You are invited to subscribe to <a href="https://beta.' + communityId + '.openaire.eu/">'
|
||||||
+ '<p>The community dashboard is part of the <a href="https://connect.openaire.eu/">OpenAIRE-Connect</a> '
|
+ communityTitle + '</a> dashboard.<br>'
|
||||||
+ 'project and currently is in BETA version.'
|
+ 'The purpose of this dashboard is to gather, link & monitor the research results related to your community.</p>'
|
||||||
+ '</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>';
|
||||||
|
} else {
|
||||||
|
defaultMainBody = '<p>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.</p> ' +
|
||||||
|
'<p>What you can do:</p>' +
|
||||||
|
'<ul>' +
|
||||||
|
'<li>navigate in a linked open data space, a contextual discovery</li>' +
|
||||||
|
'<li>automatically deposit in Zenodo designated communities</li>' +
|
||||||
|
'<li>link research results among themselves and to projects</li>' +
|
||||||
|
'<li>join the team of experts to curate/moderate the traffic, mining, links to the data</li>' +
|
||||||
|
'</ul> ' +
|
||||||
|
'<p>The community dashboard is part of the<a href="https://connect.openaire.eu/"> OpenAIRE-Connect</a> project.</p>'
|
||||||
|
}
|
||||||
|
|
||||||
return body = {fromMessage: ", on behalf of ", fromName: fullname, paragraphs: defaultMainBody, signature: this.closing, note: ""};
|
return body = {fromMessage: ", on behalf of ", fromName: fullname, paragraphs: defaultMainBody, signature: this.closing, note: ""};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue