Fix email body

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53961 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-11-26 10:32:19 +00:00
parent 9dc151cc1b
commit 810dd5ba65
2 changed files with 1 additions and 2 deletions

View File

@ -66,7 +66,7 @@ export class InviteComponent implements OnInit {
community => {
this.community = community;
this.defaultBody = '<p>You are invited to subscribe in <a href="https://beta.' + this.communityId + '.openaire.eu/">' + this.community.title + '</a> dashboard.'
this.defaultBody = '<p>You are invited to subscribe to <a href="https://beta.' + this.communityId + '.openaire.eu/">' + this.community.title + '</a> dashboard.'
+ '<br>The purpose of this dashboard is to gather, link &amp; monitor the research results related to your community.</p><p>The community dashboard is part of the <a href="https://connect.openaire.eu/">OpenAIRE-Connect</a> project and currently is in BETA version.</p>';
// TODO move the initialisation

View File

@ -114,7 +114,6 @@ export class SubscribeComponent {
if(!this.subscribed){
this.subscribed = true;
this._emailService.sendEmail(this.properties.notifyForNewSubscribers + this.communityId, this.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers)).subscribe(
// this._emailService.sendEmail("http://duffy.di.uoa.gr:8080/uoa-admin-tools/notifyForNewSubscribers/"+ this.communityId, this.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers)).subscribe(
res => {
console.log("The email has been sent successfully!")
},