2018-11-30 10:23:09 +01:00
|
|
|
<h2 mat-dialog-title>New change recommendation</h2>
|
2018-09-30 18:43:20 +02:00
|
|
|
<mat-dialog-content>
|
|
|
|
<form class="motion-content" [formGroup]='contentForm' (ngSubmit)='saveChangeRecommendation()'>
|
|
|
|
<h3>Change from line {{ lineRange.from }} to {{ lineRange.to }}:</h3>
|
|
|
|
|
|
|
|
<mat-radio-group #rGroup formControlName="diffType">
|
|
|
|
<mat-radio-button *ngFor="let radio of replacementTypes" [value]="radio.value">{{ radio.title }}</mat-radio-button>
|
|
|
|
</mat-radio-group>
|
|
|
|
|
2018-11-20 13:31:56 +01:00
|
|
|
<!-- The HTML Editor -->
|
2018-11-30 10:23:09 +01:00
|
|
|
<h4 translate>Changed version</h4>
|
2018-11-20 13:31:56 +01:00
|
|
|
<editor
|
|
|
|
formControlName='text'
|
|
|
|
[init]="tinyMceSettings"
|
|
|
|
></editor>
|
2018-10-25 15:11:38 +02:00
|
|
|
|
|
|
|
<mat-checkbox formControlName="public">{{ 'Public' | translate }}</mat-checkbox>
|
2018-09-30 18:43:20 +02:00
|
|
|
</form>
|
|
|
|
</mat-dialog-content>
|
|
|
|
<mat-dialog-actions>
|
|
|
|
<!-- The mat-dialog-close directive optionally accepts a value as a result for the dialog. -->
|
2018-11-06 16:57:36 +01:00
|
|
|
<button mat-button (click)="saveChangeRecommendation()">
|
|
|
|
<span translate>Save</span>
|
|
|
|
</button>
|
2019-01-09 08:31:13 +01:00
|
|
|
<button mat-button mat-dialog-close>
|
|
|
|
<span translate>Cancel</span>
|
|
|
|
</button>
|
2018-09-30 18:43:20 +02:00
|
|
|
</mat-dialog-actions>
|