Remove properties for sending email in invite form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53971 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
b3fbb00d8a
commit
cbcd2beba5
|
@ -9,7 +9,8 @@
|
|||
<errorMessages [status]="[status]" [type]="'community'"></errorMessages>
|
||||
</div>
|
||||
<div *ngIf="missingCommunityId" class="uk-alert uk-alert-warning" role="alert">{{missingCommunityId}}</div>
|
||||
|
||||
<div *ngIf="successfulSentMessage" class="uk-alert uk-alert-success" role="alert">{{successfulSentMessage}}</div>
|
||||
<div *ngIf="inviteErrorMessage" class="uk-alert uk-alert-warning" role="alert">{{inviteErrorMessage}}</div>
|
||||
<div *ngIf="communityId != null && status == errorCodes.DONE">
|
||||
<!--table *ngIf="communityId != null && community != null && !showLoading && !errorMessage" class="uk-table uk-align-center"-->
|
||||
<table class="uk-table uk-align-center">
|
||||
|
@ -105,8 +106,8 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div *ngIf="successfulSentMessage" class="uk-alert uk-alert-success" role="alert">{{successfulSentMessage}}</div>
|
||||
<div *ngIf="inviteErrorMessage" class="uk-alert uk-alert-warning" role="alert">{{inviteErrorMessage}}</div>
|
||||
<!-- <div *ngIf="successfulSentMessage" class="uk-alert uk-alert-success" role="alert">{{successfulSentMessage}}</div>
|
||||
<div *ngIf="inviteErrorMessage" class="uk-alert uk-alert-warning" role="alert">{{inviteErrorMessage}}</div> -->
|
||||
<table class="uk-table uk-align-center">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
|
|
@ -118,7 +118,7 @@ export class InviteComponent implements OnInit {
|
|||
this.composeEmail();
|
||||
console.log(this.email.body);
|
||||
|
||||
this._emailService.sendEmail(this.properties.sendMailUrl, this.email).subscribe(
|
||||
this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/sendMail/", this.email).subscribe(
|
||||
res => {
|
||||
console.log("The email has been sent successfully!");
|
||||
this.status = this.errorCodes.DONE;
|
||||
|
@ -136,7 +136,6 @@ export class InviteComponent implements OnInit {
|
|||
error => {
|
||||
console.log(error);
|
||||
this.status = this.errorCodes.DONE;
|
||||
//this.errorMessage = "gdgd";//inviteErrorMessage
|
||||
this.inviteErrorMessage = "There was an error sending emails. Please try again.";
|
||||
}
|
||||
);
|
||||
|
|
|
@ -104,7 +104,6 @@
|
|||
"searchLinkToAdvancedOrganizations" : "/search/advanced/organizations",
|
||||
"searchLinkToAdvancedPeople" : "/search/advanced/people",
|
||||
|
||||
"sendMailUrl": "http://duffy.di.uoa.gr:8080/uoa-admin-tools/sendMail/",
|
||||
"notifyForNewManagers": "http://duffy.di.uoa.gr:8080/uoa-admin-tools/notifyForNewManagers/",
|
||||
"notifyForNewSubscribers": "http://duffy.di.uoa.gr:8080/uoa-admin-tools/notifyForNewSubscribers/",
|
||||
|
||||
|
|
Loading…
Reference in New Issue