Change email's css
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@53953 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
f2d0bacaf8
commit
d206bf5c68
|
@ -249,8 +249,8 @@ export class CommunityEditFormComponent implements OnInit{
|
|||
+ " If you login with an account associated to a different email, please <a href='mailto:helpdesk@openaire.eu'>contact us</a>"
|
||||
+ " or your colleagues, that already have access to the administration tool, to update your e-mail. <br>"
|
||||
+ "You can access the administration tool by clicking the \"Manage\" button that will be available in the top right corner of the dashboard."
|
||||
+ "</p><br>"
|
||||
+ "OpenAIRE team<br>" + "<a href='https://www.openaire.eu'>www.openaire.eu</a>"
|
||||
+ "</p>"
|
||||
+ "OpenAIRE team<br>" + "<a href='https://www.openaire.eu'>www.openaire.eu</a><br>"
|
||||
+ "<p style='font-size:11px;'>If you are not responsible for this community, please "
|
||||
+ "<a href='mailto:openaire.test@gmail.com'>contact us</a>.</p></div>";
|
||||
this.email.recipients = newCommunityManagers;
|
||||
|
@ -263,17 +263,19 @@ export class CommunityEditFormComponent implements OnInit{
|
|||
// TODO find the right place to write it
|
||||
private composeEmailToInformOldManagersForTheNewOnes(communityName: string, communityId: string, firstVersionOfManagers: any) : Email {
|
||||
this.emailToInform.subject = "[OpenAIRE-Connect] " + communityName + ": Managers list notification";
|
||||
this.emailToInform.body = "<p>There are updates in the managers list for \"" + communityName + "\" community.<br>"
|
||||
+ "The list of managers is: " + this.community.managers + "</p><br>"
|
||||
+ "OpenAIRE team<br>" + "<a href='https://www.openaire.eu'>www.openaire.eu</a>"
|
||||
this.emailToInform.body = "<div style='font-size:14px;'>"
|
||||
+ "<p>There are updates in the managers list for \"" + communityName + "\" community.<br>"
|
||||
+ "The list of managers is: " + this.community.managers + "</p>"
|
||||
+ "OpenAIRE team<br>" + "<a href='https://www.openaire.eu'>www.openaire.eu</a><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.emailToInform.recipients = firstVersionOfManagers;
|
||||
|
||||
return this.emailToInform;
|
||||
|
|
Loading…
Reference in New Issue