mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2672] version manager fixes (#3169)
* fix app config, add extra flags for version manager * add docs and tests * update i18n strings * rename "id" to "nodeId" * automatically detect permissions * restore 'id' and mark as deprecated
This commit is contained in:
committed by
Eugenio Romano
parent
8b4af90b46
commit
aba9f41af1
@@ -1,11 +1,15 @@
|
||||
<div class="adf-new-version-uploader-container" fxLayout="row" fxLayoutAlign="end center">
|
||||
<adf-version-upload [node]="node" (success)="onUploadSuccess($event)" (error)="onUploadError($event)"></adf-version-upload>
|
||||
<adf-version-upload
|
||||
[node]="node"
|
||||
(success)="onUploadSuccess($event)"
|
||||
(error)="uploadError.emit($event)">
|
||||
</adf-version-upload>
|
||||
</div>
|
||||
<div class="adf-version-list-container">
|
||||
<adf-version-list
|
||||
#versionList [id]="node.id"
|
||||
#versionList
|
||||
[node]="node"
|
||||
[allowDownload]="allowDownload"
|
||||
[showComments]="showComments"
|
||||
[allowDelete]="allowDelete">
|
||||
[showComments]="showComments">
|
||||
</adf-version-list>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user