[ADF-2561] add showComments toggle on demo-shell (#3143)

This commit is contained in:
Suzana Dirla
2018-04-05 14:05:58 +03:00
committed by Denys Vuika
parent 9b3e153b83
commit c7507c0c31
5 changed files with 17 additions and 3 deletions

View File

@@ -352,7 +352,8 @@
<ng-container *ngIf="hasOneFileSelected();else choose_document_template">
<ng-container *ngIf="userHasPermissionToManageVersions(); else no_permission_to_versions">
<adf-version-manager
[node]="documentList.selection[0].entry">
[node]="documentList.selection[0].entry"
[showComments]="showVersionComments">
</adf-version-manager>
</ng-container>
</ng-container>
@@ -438,6 +439,12 @@
</mat-slide-toggle>
</section>
<section>
<mat-slide-toggle [color]="'primary'" [(ngModel)]="showVersionComments">{{'DOCUMENT_LIST.SHOW_VERSION_COMMENTS' |
translate}}
</mat-slide-toggle>
</section>
<h5>Upload</h5>
<section *ngIf="acceptedFilesTypeShow">
<mat-form-field floatPlaceholder="float">