Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme
This commit is contained in:
commit
7153bdc842
|
@ -31,7 +31,7 @@ import {OpenaireEntities} from '../../utils/properties/searchFields';
|
|||
</div>
|
||||
</ng-container>
|
||||
</div>
|
||||
<errorMessages [status]="[fetchProjects.searchUtils.status]" [type]="'projects'"
|
||||
<errorMessages [status]="[fetchProjects.searchUtils.status]" [type]="openaireEntities.PROJECTS"
|
||||
tab_error_class=true></errorMessages>
|
||||
<div *ngIf="fetchProjects.searchUtils.status == errorCodes.DONE">
|
||||
<results-and-pages *ngIf="fetchProjects.searchUtils.totalResults > size" [type]="openaireEntities.PROJECTS"
|
||||
|
|
|
@ -9,8 +9,15 @@ import {properties} from "../../../environments/environment";
|
|||
[class]="(tab_error_class ? '' : 'uk-animation-fade') + ' uk-margin-top uk-width-1-1'" role="alert">
|
||||
<loading></loading>
|
||||
</div>
|
||||
<!-- <div *ngIf="status.every(checkErrorCode(errorCodes.NONE))"-->
|
||||
<!-- [class]="(tab_error_class ? 'uk-margin-top' : 'uk-animation-fade') + ' uk-alert uk-alert-primary'" role="alert">No {{type}} available</div>-->
|
||||
<div *ngIf="status.every(checkErrorCode(errorCodes.NONE))"
|
||||
[class]="(tab_error_class ? 'uk-margin-top' : 'uk-animation-fade') + ' uk-alert uk-alert-primary'" role="alert">No {{type}} available</div>
|
||||
class="uk-width-expand uk-height-small uk-flex uk-flex-center uk-flex-middle">
|
||||
<div class="uk-animation-fade uk-text-meta uk-text-large">
|
||||
No {{type}} available
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="status.every(checkErrorCode(errorCodes.ERROR)) ||
|
||||
(status.some(checkErrorCode(errorCodes.ERROR)) && (!status.every(checkErrorCode(errorCodes.DONE)) || !status.every(checkErrorCode(errorCodes.LOADING))))"
|
||||
[class]="(tab_error_class ? 'uk-margin-top' : 'uk-animation-fade') + ' uk-alert uk-alert-warning'" role="alert">
|
||||
|
|
Loading…
Reference in New Issue