mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2562] Download a previous version (#3141)
* [ADF-2562] Download a previous version * [ADF-2562] add input property to enable/disable version downloads * [ADF-2562] add example in demo-shell * [ADF-2562] unit tests * [ADF-2561] View comments on previous versions (#3137) * [ADF-2561] View comments on previous versions add input property to enable/disable viewing version comments * [ADF-2561] add more tests * remove name property * test fixes
This commit is contained in:
committed by
Denys Vuika
parent
9792f83c9b
commit
7b7e39d989
@@ -353,7 +353,8 @@
|
||||
<ng-container *ngIf="userHasPermissionToManageVersions(); else no_permission_to_versions">
|
||||
<adf-version-manager
|
||||
[node]="documentList.selection[0].entry"
|
||||
[showComments]="showVersionComments">
|
||||
[showComments]="showVersionComments"
|
||||
[enableDownload]="enableVersionDownload">
|
||||
</adf-version-manager>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
@@ -440,8 +441,11 @@
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<mat-slide-toggle [color]="'primary'" [(ngModel)]="showVersionComments">{{'DOCUMENT_LIST.SHOW_VERSION_COMMENTS' |
|
||||
translate}}
|
||||
<mat-slide-toggle [color]="'primary'" [(ngModel)]="showVersionComments">
|
||||
{{'DOCUMENT_LIST.SHOW_VERSION_COMMENTS' | translate}}
|
||||
</mat-slide-toggle>
|
||||
<mat-slide-toggle [color]="'primary'" [(ngModel)]="enableVersionDownload">
|
||||
{{'DOCUMENT_LIST.ENABLE_VERSION_DOWNLOAD' | translate}}
|
||||
</mat-slide-toggle>
|
||||
</section>
|
||||
|
||||
|
Reference in New Issue
Block a user