mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2560] Empty template for nodes without permissions (#3171)
* No permissions template * Unit test added * custom template * template selector changed * tslint error fix
This commit is contained in:
committed by
Eugenio Romano
parent
06d85aa8d3
commit
cebe0f57f5
@@ -17,6 +17,18 @@ Shows node permissions as a table.
|
||||
</adf-permission-list>
|
||||
```
|
||||
|
||||
If permissions list is empty, `No permissions` text is displayed,
|
||||
or custom template can be added:
|
||||
|
||||
```html
|
||||
<adf-permission-list [nodeId]="nodeId">
|
||||
<adf-no-permission-template>
|
||||
Custom no permission template!
|
||||
</adf-no-permission-template>
|
||||
</adf-permission-list>
|
||||
```
|
||||
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
|
Reference in New Issue
Block a user