Bugfix: wrong line numbers in change recommendation dialog

This commit is contained in:
Tobias Hößl 2019-02-15 14:02:48 +01:00
parent a5eee7c99c
commit e9e8abeb0e
No known key found for this signature in database
GPG Key ID: 1D780C7599C2D2A2

View File

@ -7,7 +7,12 @@
</mat-radio-group>
<!-- The HTML Editor -->
<h4><span translate>Changed version in line</span> {{ lineRange.from }} <span translate>to</span> {{ lineRange.to }}:</h4>
<h4 *ngIf="lineRange.to == lineRange.from + 1">
<span translate>Changed version in line</span> {{ lineRange.from }}:
</h4>
<h4 *ngIf="lineRange.to != lineRange.from + 1">
<span translate>Changed version in line</span> {{ lineRange.from }} <span translate>to</span> {{ lineRange.to - 1 }}:
</h4>
<editor
formControlName='text'
[init]="tinyMceSettings"