Revision 60256
Added by Konstantinos Triantafyllou over 3 years ago
composer.ts | ||
---|---|---|
195 | 195 |
// TODO remove this after adding this on admin |
196 | 196 |
public static initializeInvitationsBody(communityId: string, communityTitle: string, fullname: string): Body { |
197 | 197 |
let body: Body = new Body(); |
198 |
let defaultMainBody; |
|
198 |
let defaultMainBody = '<p>You are invited to subscribe to <a href="https://' + (properties.environment == "production"?'':'beta.') + communityId + '.openaire.eu/">' |
|
199 |
+ communityTitle + '</a> dashboard.<br>'; |
|
199 | 200 |
if(communityId !== 'covid-19') { |
200 |
defaultMainBody ='<p>You are invited to subscribe to <a href="https://' + (properties.environment == "production"?'':'beta.') + communityId + '.openaire.eu/">' |
|
201 |
+ communityTitle + '</a> dashboard.<br>' |
|
202 |
+ 'The purpose of this dashboard is to gather, link & monitor the research results related to your community.</p>' |
|
201 |
defaultMainBody += 'The purpose of this dashboard is to gather, link & monitor the research results related to your community.</p>' |
|
203 | 202 |
+ '<p>The community dashboard is part of the <a href="https://connect.openaire.eu/">OpenAIRE-Connect</a> ' |
204 | 203 |
+ 'project.' |
205 | 204 |
+ '</p>'; |
206 | 205 |
} else { |
207 |
defaultMainBody = '<p>This is a dashboard that gathers, links & monitors research results related COVID-19 (multi-disciplinary) from authoritative OA sources around the world. ' +
|
|
206 |
defaultMainBody += 'This is a dashboard that gathers, links & monitors research results related COVID-19 (multi-disciplinary) from authoritative OA sources around the world. ' +
|
|
208 | 207 |
'We have a community of experts moderating and curating the content.</p> ' + |
209 | 208 |
'<p>What you can do:</p>' + |
210 | 209 |
'<ul>' + |
Also available in: Unified diff
[Library | Trunk]: Fix invite message for covid-19 community