Merge pull request #4354 from CatoTH/OS3-LineNumbering-Range-Bugfix

Bugfix: wrong line numbers in change recommendation dialog
This commit is contained in:
Emanuel Schütze 2019-02-15 14:46:30 +01:00 committed by GitHub
commit 43c11168ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

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"