mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* change input with textarea * update file version use now the update content API * provide way to test read only mode version list * fix test * test fix
19 lines
782 B
HTML
19 lines
782 B
HTML
<header mat-dialog-title>{{'VERSION.DIALOG.TITLE' | translate}}</header>
|
|
|
|
<section>
|
|
<mat-slide-toggle color="primary" [(ngModel)]="readOnly">
|
|
{{'APP.ADF_VERSION_MANAGER.READ_ONLY' | translate}}
|
|
</mat-slide-toggle>
|
|
</section>
|
|
|
|
<section mat-dialog-content *ngIf="!readOnly">
|
|
<adf-version-manager [node]="contentEntry" [allowDownload]="allowDownload" [showComments]="showComments" (uploadError)="uploadError($event)"></adf-version-manager>
|
|
</section>
|
|
<section mat-dialog-content *ngIf="readOnly">
|
|
<adf-version-list [node]="contentEntry" [showActions]="false" ></adf-version-list>
|
|
</section>
|
|
|
|
<footer mat-dialog-actions fxLayout="row" fxLayoutAlign="end center">
|
|
<button mat-button (click)="close()">{{'VERSION.DIALOG.CLOSE' | translate}}</button>
|
|
</footer>
|