[ACA-1221] Files versions manager (#247)

* [ACA-1221] Integrate the component as it currently is on ADF.

add versions as a modal

* refactor scss file

* remove permission check from directive

* emit event on node type error
This commit is contained in:
suzanadirla
2018-03-22 18:08:29 +02:00
committed by Cilibiu Bogdan
parent 3a51f7c6b0
commit ae5bd67067
8 changed files with 209 additions and 3 deletions

View File

@@ -82,6 +82,14 @@
<mat-icon>delete</mat-icon>
<span>{{ 'APP.ACTIONS.DELETE' | translate }}</span>
</button>
<button
mat-menu-item
*ngIf="canManageVersions(documentList.selection)"
[app-node-versions]="documentList.selection">
<mat-icon>storage</mat-icon>
<span>{{ 'APP.ACTIONS.VERSIONS' | translate }}</span>
</button>
</mat-menu>
</adf-toolbar>
</div>