X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/68214317714e0518a1b5653804ce1362beb8fc0d..2d04ebbd7dd3f76783f1d1595504921292614beb:/src/templates/detailspage.hbs?ds=sidebyside
diff --git a/src/templates/detailspage.hbs b/src/templates/detailspage.hbs
index 1b39432..783865a 100644
--- a/src/templates/detailspage.hbs
+++ b/src/templates/detailspage.hbs
@@ -12,7 +12,7 @@
{{osmLink this}} |
{{this.rank_address}} |
{{formatAdminLevel this.admin_level}} |
- {{formatDistance this.distance}} |
+ {{formatDistance this.distance bDistanceInMeters}} |
{{detailsPermaLink this 'details >'}} |
{{/inline}}
@@ -44,7 +44,7 @@
- {{formatMapIcon aPlace.icon}}
+ {{formatMapIcon aPlace}}
@@ -160,14 +160,14 @@
{{#if aPlace.address}}
{{#each aPlace.address}}
- {{> partial_details_one_row}}
+ {{> partial_details_one_row bDistanceInMeters=false}}
{{/each}}
{{/if}}
{{#if aPlace.linked_places}}
{{> partial_h2 'Linked Places'}}
{{#each aPlace.linked_places}}
- {{> partial_details_one_row}}
+ {{> partial_details_one_row bDistanceInMeters=true}}
{{/each}}
{{/if}}
@@ -189,7 +189,7 @@
{{#each aPlace.hierarchy as |lines type|}}
{{> partial_h3 type}}
{{#each lines}}
- {{> partial_details_one_row}}
+ {{> partial_details_one_row bDistanceInMeters=true}}
{{/each}}
{{/each}}
{{else}}