[ADF-3066] ProcessList Component - Empty State issue. (#3434)

This commit is contained in:
camorra-skk
2018-06-05 21:16:18 +05:30
committed by Eugenio Romano
parent 35d2a0b683
commit 4225bf5213
7 changed files with 70 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
<div>
<adf-datatable #dataTable
<adf-datatable #dataTable
[data]="data"
[sorting]="dataSort"
[loading]="isLoading"
@@ -18,12 +17,13 @@
</ng-template>
</loading-content-template>
<no-content-template>
<!--Add your custom empty template here-->
<ng-template>
<div class="no-content-message">
{{ (requestNode ? 'ADF_PROCESS_LIST.LIST.NONE' : 'ADF_PROCESS_LIST.FILTERS.MESSAGES.NONE') | translate }}
</div>
<adf-empty-content *ngIf="!emptyCustomContent"
icon="assessment"
[title]="(requestNode ? 'ADF_PROCESS_LIST.LIST.TITLE' : 'ADF_PROCESS_LIST.FILTERS.MESSAGES.NONE') | translate "
[subtitle]="'ADF_PROCESS_LIST.LIST.SUBTITLE'| translate">
</adf-empty-content>
<ng-content select="adf-empty-custom-content"></ng-content>
</ng-template>
</no-content-template>
</adf-datatable>
</div>