[Trunk|Connect]: Contact form: move required fields below recaptcha.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55358 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-04-15 11:43:06 +00:00
parent 3b74d41b88
commit da6e8cbdcc
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@
<div *ngIf="!contactForm.recaptcha && isSubmitted" class=" uk-text-danger uk-text-small style=display:none"> Please complete reCaptcha challenge. </div> <div *ngIf="!contactForm.recaptcha && isSubmitted" class=" uk-text-danger uk-text-small style=display:none"> Please complete reCaptcha challenge. </div>
<re-captcha #recaptcha (resolved)="handleRecaptcha($event)" [(siteKey)]="properties.reCaptchaSiteKey" required></re-captcha> <re-captcha #recaptcha (resolved)="handleRecaptcha($event)" [(siteKey)]="properties.reCaptchaSiteKey" required></re-captcha>
</div> </div>
<div class="uk-width-1-2 uk-text-danger uk-text-bold uk-text-right">* Required fields</div> <div class="uk-width-1-1 uk-text-danger uk-text-bold uk-text-right">* Required fields</div>
<div class="uk-width-1-1 uk-text-right"> <div class="uk-width-1-1 uk-text-right">
<button class="uk-button uk-button-default uk-margin-auto-top" (click)="reset()">Reset</button> <button class="uk-button uk-button-default uk-margin-auto-top" (click)="reset()">Reset</button>
<button class="uk-button portal-button" (click)="send()">Send</button> <button class="uk-button portal-button" (click)="send()">Send</button>

View File

@ -366,14 +366,14 @@ export class SearchCommunitiesComponent {
} }
} }
} }
if (this.filters[i].filterId == 'status') { else if (this.filters[i].filterId == 'status') {
if (results[k].isSubscribed) { if (results[k].isSubscribed) {
this.filters[i].values[0].number++; this.filters[i].values[0].number++;
} else { } else {
this.filters[i].values[1].number++; this.filters[i].values[1].number++;
} }
} }
if (this.filters[i].filterId == 'role') { else if (this.filters[i].filterId == 'role') {
if (results[k].isManager) { if (results[k].isManager) {
this.filters[i].values[0].number++; this.filters[i].values[0].number++;
} }