[develop | DONE | FIXED]: result-preview.component.html: Added check, not to show acronym & title when they are the same.
This commit is contained in:
parent
d0a6af2745
commit
ca6f1fd751
|
@ -3,9 +3,11 @@
|
|||
<span *ngIf="result.acronym">
|
||||
{{result.acronym}}
|
||||
</span>
|
||||
<span *ngIf="result.acronym && (result.title)"> (</span>
|
||||
<span *ngIf="result.title" [innerHTML]="result.title"></span>
|
||||
<span *ngIf="result.acronym && result.title">)</span>
|
||||
<ng-container *ngIf="result.acronym != result.title">
|
||||
<span *ngIf="result.acronym && (result.title)"> (</span>
|
||||
<span *ngIf="result.title" [innerHTML]="result.title"></span>
|
||||
<span *ngIf="result.acronym && result.title">)</span>
|
||||
</ng-container>
|
||||
</div>
|
||||
<div *ngIf="!result.title && !result.acronym">
|
||||
[no title available]
|
||||
|
|
Loading…
Reference in New Issue