Change css

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53951 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-11-25 14:36:13 +00:00
parent 02c945117e
commit 2711d14f2f
1 changed files with 5 additions and 3 deletions

View File

@ -129,17 +129,19 @@ export class SubscribeComponent {
// TODO find the right place to write it
composeEmailToInformManagers(communityName: string, communityId: string, managers: any): Email {
this.emailToInformManagers.subject = "[OpenAIRE-Connect] " + communityName + ": New subscriber notification";
this.emailToInformManagers.body = "<p>There is a new subscriber for \"" + communityName + "\" community. Click "
this.emailToInformManagers.body = "<div style='font-size:14px;'>"
+"<p>There is a new subscriber for \"" + communityName + "\" community. Click "
+ "<a href='https://beta.admin.connect.openaire.eu/manage-subscribers?communityId="
+ communityId + "'>here</a> to manage the subscibers list. </p>"
+ "<p>OpenAIRE team<br> <a href='https://www.openaire.eu/'>www.openaire.eu</a></p>"
+ "<p>OpenAIRE team<br> <a href='https://www.openaire.eu/'>www.openaire.eu</a></p><br>"
+ "<p style='font-size:11px;'>You are receiving this e-mail as manager of the community "
+ "<a href='https://beta." + communityId + ".openaire.eu/'>" + communityName + "</a>. "
+ "If you are not responsible for this community, please "
+ "<a href='mailto:openaire.test@gmail.com'>contact us</a>."
+ "<br>"
+ "Click <a href='https://beta.admin.connect.openaire.eu/manage-user-notifications?communityId=" + communityId
+ "'>here</a> to manage your notification settings. </p>";
+ "'>here</a> to manage your notification settings. </p>"
+ "</div>";
this.emailToInformManagers.recipients = managers;
console.log(this.emailToInformManagers);