mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
[ADF-4000] Fix custom directive selectors on Datatable component (#4242)
This commit is contained in:
parent
120177f152
commit
a472772dfd
@ -16,13 +16,11 @@ Provides a generic "Empty Content" placeholder for components.
|
||||
```html
|
||||
<adf-document-list>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-empty-content
|
||||
icon="star_rate"
|
||||
title="APP.BROWSE.FAVORITES.EMPTY_STATE.TITLE"
|
||||
subtitle="APP.BROWSE.FAVORITES.EMPTY_STATE.TEXT">
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-document-list>
|
||||
```
|
||||
@ -44,13 +42,11 @@ Provides a generic "Empty Content" placeholder for components.
|
||||
```html
|
||||
<adf-document-list>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-empty-content
|
||||
icon="star_rate"
|
||||
title="APP.BROWSE.FAVORITES.EMPTY_STATE.TITLE"
|
||||
subtitle="APP.BROWSE.FAVORITES.EMPTY_STATE.TEXT">
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-document-list>
|
||||
```
|
||||
@ -62,14 +58,12 @@ You can also use multiple lines instead of the subtitle section:
|
||||
```html
|
||||
<adf-document-list>
|
||||
<empty-folder-content>
|
||||
<ng-template>
|
||||
<adf-empty-content
|
||||
icon="delete"
|
||||
title="APP.BROWSE.TRASHCAN.EMPTY_STATE.TITLE">
|
||||
<p class="adf-empty-content__text">{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.FIRST_TEXT' | translate }}</p>
|
||||
<p class="adf-empty-content__text">{{ 'APP.BROWSE.TRASHCAN.EMPTY_STATE.SECOND_TEXT' | translate }}</p>
|
||||
</adf-empty-content>
|
||||
</ng-template>
|
||||
</empty-folder-content>
|
||||
</adf-document-list>
|
||||
```
|
||||
|
@ -34,7 +34,7 @@
|
||||
</div>
|
||||
<!-- <div adf-empty-list-header class="adf-empty-list-header"> {{'ADF-DOCUMENT-LIST.EMPTY.HEADER' | translate}} </div> -->
|
||||
</adf-empty-list>
|
||||
<ng-content select="adf-custom-empty-content-template"></ng-content>
|
||||
<ng-content select="adf-custom-empty-content-template, empty-folder-content"></ng-content>
|
||||
</ng-template>
|
||||
</adf-no-content-template>
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
<mat-icon>ic_error</mat-icon>
|
||||
<p class="adf-no-permission__template--text">{{ 'ADF-DOCUMENT-LIST.NO_PERMISSION' | translate }}</p>
|
||||
</div>
|
||||
<ng-content select="adf-custom-no-permission-template"></ng-content>
|
||||
<ng-content select="adf-custom-no-permission-template, no-permission-content"></ng-content>
|
||||
</ng-template>
|
||||
</adf-no-permission-template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user