no permission content (#2616)

This commit is contained in:
Cilibiu Bogdan
2017-11-07 18:40:19 +02:00
committed by Eugenio Romano
parent cc821542a2
commit 5fff7fcb29
18 changed files with 375 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@@ -733,8 +733,30 @@ That will give the following output:
![Custom empty folder](docassets/images/empty-folder-template-custom.png)
### Custom 'permission denied' template
By default DocumentList provides the following content for permission denied:
![Default no permission](docassets/images/no-permission-default.png)
This can be changed by means of the custom html template:
```html
<adf-document-list ...>
<no-permission-content>
<ng-template>
<h1>You don't have permissions</h1>
</ng-template>
</no-permission-content>
</adf-document-list>
```
That will give the following output:
![Custom no permission](docassets/images/no-permission-custom.png)
<!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
<!-- seealso start -->
## See also
- [Datatable component](datatable.component.md)