mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
config based comments view
This commit is contained in:
committed by
Denys Vuika
parent
b36339ff9f
commit
9e5f4b58ab
@@ -9,7 +9,8 @@
|
||||
"© 2017 - 2018 Alfresco Software, Inc. All rights reserved."
|
||||
},
|
||||
"experimental": {
|
||||
"libraries": false
|
||||
"libraries": false,
|
||||
"comments": false
|
||||
},
|
||||
"headerColor": "#2196F3",
|
||||
"languagePicker": false,
|
||||
|
@@ -12,6 +12,13 @@
|
||||
</adf-content-metadata-card>
|
||||
</adf-info-drawer-tab>
|
||||
|
||||
<ng-container *ifExperimental="'comments'; else versions">
|
||||
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.TABS.COMMENTS' | translate">
|
||||
<adf-comments [nodeId]="displayNode"></adf-comments>
|
||||
</adf-info-drawer-tab>
|
||||
</ng-container>
|
||||
|
||||
<ng-template #versions>
|
||||
<adf-info-drawer-tab [label]="'APP.INFO_DRAWER.TABS.VERSIONS' | translate">
|
||||
<ng-container *ngIf="isFileSelected;else empty">
|
||||
<adf-version-manager
|
||||
@@ -28,5 +35,6 @@
|
||||
</div>
|
||||
</ng-template>
|
||||
</adf-info-drawer-tab>
|
||||
</ng-template>
|
||||
</adf-info-drawer>
|
||||
</ng-container>
|
||||
|
@@ -232,7 +232,8 @@
|
||||
"TITLE": "Details",
|
||||
"TABS": {
|
||||
"PROPERTIES": "Properties",
|
||||
"VERSIONS": "Versions"
|
||||
"VERSIONS": "Versions",
|
||||
"COMMENTS": "Comments"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user