Fix a bug with search-form. Change uk-text-muted to uk-text-meta
This commit is contained in:
parent
cee1d9f876
commit
8df2c1a2e1
|
@ -162,15 +162,17 @@
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="entitiesSelection" class="uk-flex uk-flex-center uk-width-xlarge@l uk-width-large uk-child-width-1-1">
|
<div class="uk-flex uk-flex-center uk-width-xlarge@l uk-width-large uk-child-width-1-1">
|
||||||
<advanced-search-input [class.uk-hidden]="entities.disableSelect" [dark]="dark" [disabled]="isDisabled" (searchEmitter)="simpleKeywordChanged()">
|
<ng-container *ngIf="entitiesSelection">
|
||||||
<entities-selection #entities [simpleView]="true" [currentEntity]="entityType"
|
<advanced-search-input [class.uk-hidden]="entities.disableSelect" [dark]="dark" [disabled]="isDisabled" (searchEmitter)="simpleKeywordChanged()">
|
||||||
(selectionChange)="simpleEntityChanged($event)"
|
<entities-selection #entities [simpleView]="true" [currentEntity]="entityType"
|
||||||
[onChangeNavigate]="true" [customFilter]="customFilter"></entities-selection>
|
(selectionChange)="simpleEntityChanged($event)"
|
||||||
<div input placeholder="Scholary works" [hint]="formPlaceholderText" [(value)]="selectedFields[0].value"></div>
|
[onChangeNavigate]="true" [customFilter]="customFilter"></entities-selection>
|
||||||
</advanced-search-input>
|
<div input placeholder="Scholary works" [hint]="formPlaceholderText" [(value)]="selectedFields[0].value"></div>
|
||||||
<div *ngIf="selectedFields[0] && entities.disableSelect" search-input [disabled]="isDisabled" [(value)]="selectedFields[0].value"
|
</advanced-search-input>
|
||||||
[placeholder]="formPlaceholderText" (searchEmitter)="simpleKeywordChanged()"></div>
|
<div *ngIf="selectedFields[0] && entities.disableSelect" search-input [disabled]="isDisabled" [(value)]="selectedFields[0].value"
|
||||||
|
[placeholder]="formPlaceholderText" (searchEmitter)="simpleKeywordChanged()"></div>
|
||||||
|
</ng-container>
|
||||||
<div *ngIf="selectedFields[0] && !entitiesSelection" search-input [disabled]="isDisabled" [(value)]="selectedFields[0].value"
|
<div *ngIf="selectedFields[0] && !entitiesSelection" search-input [disabled]="isDisabled" [(value)]="selectedFields[0].value"
|
||||||
[placeholder]="formPlaceholderText" (searchEmitter)="simpleKeywordChanged()"></div>
|
[placeholder]="formPlaceholderText" (searchEmitter)="simpleKeywordChanged()"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -235,15 +235,15 @@
|
||||||
<h6 class="uk-margin-remove">
|
<h6 class="uk-margin-remove">
|
||||||
<ng-container *ngIf="results && searchUtils.totalResults > 0">
|
<ng-container *ngIf="results && searchUtils.totalResults > 0">
|
||||||
<span>{{searchUtils.totalResults|number}}</span>
|
<span>{{searchUtils.totalResults|number}}</span>
|
||||||
<span class="uk-text-muted uk-text-capitalize"> {{type}}, page </span>
|
<span class="uk-text-meta uk-text-capitalize"> {{type}}, page </span>
|
||||||
<span>{{searchUtils.page | number}}</span>
|
<span>{{searchUtils.page | number}}</span>
|
||||||
<span class="uk-text-muted"> of {{(totalPages(searchUtils.totalResults)|number)}}</span>
|
<span class="uk-text-meta"> of {{(totalPages(searchUtils.totalResults)|number)}}</span>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="!loadPaging && oldTotalResults > 0 && searchUtils.status == errorCodes.LOADING">
|
<ng-container *ngIf="!loadPaging && oldTotalResults > 0 && searchUtils.status == errorCodes.LOADING">
|
||||||
<span>{{oldTotalResults|number}}</span>
|
<span>{{oldTotalResults|number}}</span>
|
||||||
<span class="uk-text-muted uk-text-capitalize"> {{type}}, page </span>
|
<span class="uk-text-meta uk-text-capitalize"> {{type}}, page </span>
|
||||||
<span>{{searchUtils.page | number}}</span>
|
<span>{{searchUtils.page | number}}</span>
|
||||||
<span class="uk-text-muted"> of {{(totalPages(oldTotalResults)|number)}}</span>
|
<span class="uk-text-meta"> of {{(totalPages(oldTotalResults)|number)}}</span>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</h6>
|
</h6>
|
||||||
<!-- Download results -->
|
<!-- Download results -->
|
||||||
|
|
Loading…
Reference in New Issue