Revision 58652
Added by Konstantinos Triantafyllou almost 4 years ago
composer.ts | ||
---|---|---|
146 | 146 |
|
147 | 147 |
return formattedEmail; |
148 | 148 |
} |
149 |
|
|
149 |
|
|
150 |
// TODO remove this after adding this on admin |
|
150 | 151 |
public static initializeInvitationsBody(communityId: string, communityTitle: string, fullname: string): Body { |
151 | 152 |
let body: Body = new Body(); |
152 |
let defaultMainBody = '<p>You are invited to subscribe to <a href="https://beta.' + communityId + '.openaire.eu/">' |
|
153 |
+ communityTitle + '</a> dashboard.<br>' |
|
154 |
+ 'The purpose of this dashboard is to gather, link & monitor the research results related to your community.</p>' |
|
155 |
+ '<p>The community dashboard is part of the <a href="https://connect.openaire.eu/">OpenAIRE-Connect</a> ' |
|
156 |
+ 'project and currently is in BETA version.' |
|
157 |
+ '</p>'; |
|
153 |
let defaultMainBody; |
|
154 |
if(communityId !== 'covid-19') { |
|
155 |
defaultMainBody ='<p>You are invited to subscribe to <a href="https://beta.' + communityId + '.openaire.eu/">' |
|
156 |
+ communityTitle + '</a> dashboard.<br>' |
|
157 |
+ 'The purpose of this dashboard is to gather, link & monitor the research results related to your community.</p>' |
|
158 |
+ '<p>The community dashboard is part of the <a href="https://connect.openaire.eu/">OpenAIRE-Connect</a> ' |
|
159 |
+ 'project and currently is in BETA version.' |
|
160 |
+ '</p>'; |
|
161 |
} else { |
|
162 |
defaultMainBody = '<p>This is a dashboard that gathers, links & monitors research results related COVID-19 (multi-disciplinary) from authoritative OA sources around the world. ' + |
|
163 |
'We have a community of experts moderating and curating the content.</p> ' + |
|
164 |
'<p>What you can do:</p>' + |
|
165 |
'<ul>' + |
|
166 |
'<li>navigate in a linked open data space, a contextual discovery</li>' + |
|
167 |
'<li>automatically deposit in Zenodo designated communities</li>' + |
|
168 |
'<li>link research results among themselves and to projects</li>' + |
|
169 |
'<li>join the team of experts to curate/moderate the traffic, mining, links to the data</li>' + |
|
170 |
'</ul> ' + |
|
171 |
'<p>The community dashboard is part of the<a href="https://connect.openaire.eu/"> OpenAIRE-Connect</a> project.</p>' |
|
172 |
} |
|
158 | 173 |
|
159 | 174 |
return body = {fromMessage: ", on behalf of ", fromName: fullname, paragraphs: defaultMainBody, signature: this.closing, note: ""}; |
160 | 175 |
} |
Also available in: Unified diff
[Library | Trunk]: Change invite message for covid-19