Remove unused method, there is in library's composer
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54365 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
f1d415ab0b
commit
ce8aab7d4f
|
@ -126,29 +126,6 @@ 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 = "<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><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>"
|
||||
// + "</div>";
|
||||
//
|
||||
// this.emailToInformManagers.recipients = managers;
|
||||
// console.log(this.emailToInformManagers);
|
||||
//
|
||||
// return this.emailToInformManagers;
|
||||
// }
|
||||
|
||||
unsubscribe(){
|
||||
var email = Session.getUserEmail();
|
||||
if(email == null){
|
||||
|
|
Loading…
Reference in New Issue