X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/cb5c9a8f77ae6e220a4565d43ef6f182b7831844..2d04ebbd7dd3f76783f1d1595504921292614beb:/src/templates/detailspage.hbs?ds=inline
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}}