fixed translations in list component

This commit is contained in:
grata
2023-05-07 11:17:11 +02:00
parent 4bd18c6d62
commit 509e2069e6
3 changed files with 17 additions and 10 deletions

View File

@@ -1,14 +1,18 @@
<div *ngIf="isNear" class="container">
<h1>
{{translations.locationName}}{{locationParams}}
{{translations.locationName}}: {{locationParams}}
</h1>
<div *ngFor="let locations of locations, let i = index" class="row">
<h3>
<a class="link link-primary" href="location/{{locations.location}}">{{locations.location}}</a>
</h3>
<div>
<h4 *ngIf="locations.distance && !positionNotFound">{{translations.distance}}{{locations.distance}} km</h4>
<h4 *ngIf="positionNotFound">{{translations.positionNotFoundErrorMessage}}</h4>
<div class="container2">
<div class="left">
<div *ngFor="let locations of locations, let i = index" class="row">
<h3>
<a class="link link-primary" href="location/{{locations.location}}">{{locations.location}}</a>
</h3>
<div class="distance">
<h4 *ngIf="locations.distance && !positionNotFound">{{translations.distance}}{{locations.distance}} km</h4>
<h4 *ngIf="positionNotFound">{{translations.positionNotFoundErrorMessage}}</h4>
</div>
</div>
</div>
</div>
</div>