[Trunk|Connect]: Contact form: Change modal text.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55327 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
47c003bb04
commit
d95cf337dc
|
@ -75,8 +75,8 @@
|
|||
</div>
|
||||
<modal-alert #AlertModal (alertOutput)="goToHome($event)">
|
||||
<div class="uk-text-center">
|
||||
Our team will response to your submission soon.<br>
|
||||
Press Ok to redirect to OpenAIRE Connect home page.
|
||||
Our team will respond to your submission soon.<br>
|
||||
Press OK to redirect to OpenAIRE Connect home page.
|
||||
</div>
|
||||
</modal-alert>
|
||||
</div>
|
||||
|
|
|
@ -67,6 +67,7 @@ export class ContactComponent implements OnInit {
|
|||
public send() {
|
||||
this.isSubmitted = true;
|
||||
if(!this.name.invalid && !this.surname.invalid && !this.sender.invalid &&
|
||||
!this.contactForm.email.match('^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$') &&
|
||||
!this.affiliation.invalid && !this.message.invalid && this.contactForm.recaptcha != '') {
|
||||
this.sendMail(this.properties.admins);
|
||||
}
|
||||
|
@ -108,7 +109,7 @@ export class ContactComponent implements OnInit {
|
|||
this.modal.alertMessage = false;
|
||||
this.modal.cancelButton = false;
|
||||
this.modal.okButtonLeft = false;
|
||||
this.modal.okButtonText = 'Ok';
|
||||
this.modal.okButtonText = 'OK';
|
||||
this.modal.open();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue