[ADF-2297] App-list - The component shows "No Apps found" until all the apps are loaded (#2945)

* [ADF-2297] When loading the process workspace landing page after login, there is a message "No Apps found" displayed until all the apps are loaded

* Added a template in app-list component to show apps loading status.

* [ADF-2297] When loading the process workspace landing page after login, there is a message "No Apps found" displayed until all the apps are loaded

* Added a template in app-list component to show apps loading status.

* [ADF-2297] When loading the process workspace landing page after login, there is a message "No Apps found" displayed until all the apps are loaded

* Added a template in app-list component to show apps loading status.

* [ADF-2297] When loading the process workspace landing page after login, there is a message "No Apps found" displayed until all the apps are loaded

* Added a template in app-list component to show apps loading status.

* added a way to pass custom no-apps template to adf-apps

* [ADF-2297] When loading the process workspace landing page after login, there is a message "No Apps found" displayed until all the apps are loaded

* Added a template in app-list component to show apps loading status.

* added a way to pass custom no-apps template to adf-apps
This commit is contained in:
madhukar23
2018-02-20 15:55:53 +05:30
committed by Eugenio Romano
parent de575fd47b
commit 5955cc567d
6 changed files with 125 additions and 8 deletions

View File

@@ -34,6 +34,22 @@
</div>
</div>
</div>
<div class="menu-container" *ngIf="isEmpty()">
{{ 'ADF_TASK_LIST.APPS.NONE' | translate }}
</div>
<ng-container *ngIf="isLoading(); else empty">
<div class="adf-app-list-spinner">
<mat-spinner></mat-spinner>
</div>
</ng-container>
<ng-template #empty>
<ng-content *ngIf="hasCustomEmptyListTemplate; else defaulEmptyList" class="adf-custom-empty-template"></ng-content>
<ng-template #defaulEmptyList>
<adf-empty-list *ngIf="isEmpty()">
<div adf-empty-list-header class="adf-empty-list-header">
{{ 'ADF_TASK_LIST.APPS.NONE' | translate }}
</div>
</adf-empty-list>
</ng-template>
</ng-template>