mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
preview versions (#285)
This commit is contained in:
committed by
Denys Vuika
parent
b1d093fd48
commit
a73d3597a4
@@ -10,6 +10,19 @@
|
||||
[node]="node">
|
||||
</adf-content-metadata-card>
|
||||
</adf-info-drawer-tab>
|
||||
|
||||
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.TABS.VERSIONS' | translate">
|
||||
<ng-container *ngIf="permission.check(node, ['update']);else no_permission_to_versions">
|
||||
<adf-version-manager [node]="node"></adf-version-manager>
|
||||
</ng-container>
|
||||
|
||||
<ng-template #no_permission_to_versions>
|
||||
<div class="adf-manage-versions-no-permission">
|
||||
<mat-icon class="adf-manage-versions-no-permission-icon">warning</mat-icon>
|
||||
{{ 'VERSION.SELECTION.NO_PERMISSION' | translate }}
|
||||
</div>
|
||||
</ng-template>
|
||||
</adf-info-drawer-tab>
|
||||
</adf-info-drawer>
|
||||
</ng-template>
|
||||
|
||||
|
Reference in New Issue
Block a user