From 0c27a2c17e2e063488c5403b1f4c652b6cc7096a Mon Sep 17 00:00:00 2001
From: "sofia.baltzi" OpenAIRE invites you to subscribe in _Community_name_ dashboard. The community dashboard is part of the OpenAIRE-Connect project Kind regards,Message:
-
@@ -138,7 +131,7 @@
-
+
diff --git a/src/app/utils/subscribe/invite/invite.component.ts b/src/app/utils/subscribe/invite/invite.component.ts
index 1987aa7..4e4c2fa 100644
--- a/src/app/utils/subscribe/invite/invite.component.ts
+++ b/src/app/utils/subscribe/invite/invite.component.ts
@@ -24,8 +24,7 @@ export class InviteComponent implements OnInit {
private ckeditorContent: string;
- public defaultBody = '
OpenAIRE team
The community dashboard is part of the OpenAIRE-Connect project
' + public defaultBody = 'OpenAIRE invites you to subscribe in _Community_name_ dashboard.
The community dashboard is part of the OpenAIRE-Connect project.
'; @Input() communityId = null; @@ -39,7 +38,7 @@ export class InviteComponent implements OnInit { public ngOnInit() { this.route.data.subscribe((data: { envSpecific: EnvProperties }) => { this.properties = data.envSpecific; - this.body = {salutation: "Dear Sir/Madame,", fromMessage: "On behalf of ", fromName: "", paragraphs: "", closing: "Kind regards,", signature: "OpenAIRE team"}; + this.body = {salutation: "Dear Sir/Madame,", fromMessage: "On behalf of ", fromName: "", paragraphs: this.defaultBody, closing: "Kind regards,", signature: "OpenAIRE team"}; this.email = {body: "", subject: "", recipients: []}; }); @@ -70,8 +69,8 @@ export class InviteComponent implements OnInit { fromMessageAndName = "" + this.body.fromMessage + this.body.fromName + ""; } - let formattedEmail = "" + fromMessageAndName + "..." + "
" + + let formattedEmail = "" + this.body.closing + "
" + this.body.signature + "