[ADF-970] Create a new Empty list component for the datatable (#2045)

* Create a new empty list component
Share the component between attachment list and document list
Add unit test
Add basic documentation

* Use the adf empty list also in the process attachment component

* Fix unit test

* delete wrong file
This commit is contained in:
Maurizio Vitale
2017-07-06 12:03:57 +01:00
committed by Eugenio Romano
parent 7cbefb1355
commit 4bd0f04913
13 changed files with 215 additions and 25 deletions

View File

@@ -25,12 +25,7 @@
<div *ngIf="!isEmptyTemplateDefined()">
<no-content-template>
<ng-template>
<div id="adf-document-list-empty" class="document-list_empty_template">
<div class="document-list__this-space-is-empty">This folder is empty</div>
<div class="document-list__drag-drop">Drag and Drop</div>
<div class="document-list__any-files-here-to-add">any files here to add</div>
<img [src]="emptyFolderImageUrl" class="document-list__empty_doc_lib">
</div>
<adf-empty-list [emptyMsg]="'This folder is empty'"></adf-empty-list>
</ng-template>
</no-content-template>
</div>