mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* fix version component restore and delete event * version manager actions * fix test * fix unit test * remove fdescribe * fix tslint * fix screenshot rewrite problem * remove fdescribe * multi instance try * remove fdescribe * try uncomment some test * error page * fix user preferences pagiantion * search page test include * fix type tslint e2e * restore code * default lang momentadapter * fix test * [ADF-3384] removed console log from test * [ADF-3384] adding some fixes for tests and code * [ADF-3384] fixed some test and code
37 lines
1.6 KiB
HTML
37 lines
1.6 KiB
HTML
<div class="adf-new-version-max-width">
|
|
<mat-radio-group class="adf-new-version-radio-group" [(ngModel)]="semanticVersion">
|
|
<mat-radio-button class="adf-new-version-radio-button" id="adf-new-version-minor"[value]="'minor'">{{
|
|
'ADF_VERSION_LIST.ACTIONS.UPLOAD.MINOR' |
|
|
translate }}
|
|
</mat-radio-button>
|
|
<mat-radio-button class="adf-new-version-radio-button" id="adf-new-version-major" [value]="'major'">{{
|
|
'ADF_VERSION_LIST.ACTIONS.UPLOAD.MAJOR' |
|
|
translate }}
|
|
</mat-radio-button>
|
|
</mat-radio-group>
|
|
<mat-form-field class="adf-new-version-max-width">
|
|
<textarea matInput [(ngModel)]="comment" class="adf-new-version-text-area" id="adf-new-version-text-area"
|
|
placeholder="{{ 'ADF_VERSION_LIST.ACTIONS.UPLOAD.COMMENT' | translate }}"></textarea>
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
<div class="adf-version-upload-buttons">
|
|
<adf-upload-version-button
|
|
data-automation-id="adf-new-version-file-upload"
|
|
staticTitle="{{ 'ADF_VERSION_LIST.ACTIONS.UPLOAD.TITLE' | translate }}"
|
|
[node]="node"
|
|
[disabled]="!canUpload()"
|
|
[rootFolderId]="node.parentId"
|
|
tooltip="{{ 'ADF_VERSION_LIST.ACTIONS.UPLOAD.TOOLTIP' | translate }}"
|
|
[comment]="comment"
|
|
[versioning]="true"
|
|
[majorVersion]="isMajorVersion()"
|
|
(success)="success.emit($event)"
|
|
(error)="error.emit($event)">
|
|
</adf-upload-version-button>
|
|
<button mat-raised-button (click)="cancelUpload()" id="adf-new-version-cancel" >{{
|
|
'ADF_VERSION_LIST.ACTIONS.UPLOAD.CANCEL'| translate }}
|
|
</button>
|
|
</div>
|
|
|