X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/4e864490e3be3b62b016d407e1183c8f1a7b5de4..76b612e16686de1b65a6d14bffd6d14879a6f4c7:/src/templates/detailspage.hbs
diff --git a/src/templates/detailspage.hbs b/src/templates/detailspage.hbs
index 783865a..bbc2914 100644
--- a/src/templates/detailspage.hbs
+++ b/src/templates/detailspage.hbs
@@ -1,6 +1,6 @@
{{#*inline "partial_details_one_row"}}
-
+
{{#if this.localname}}
{{this.localname}}
@@ -160,14 +160,14 @@
|
{{#if aPlace.address}}
{{#each aPlace.address}}
- {{> partial_details_one_row bDistanceInMeters=false}}
+ {{> partial_details_one_row bDistanceInMeters=false bAddressLineUsed=this.isaddress}}
{{/each}}
{{/if}}
{{#if aPlace.linked_places}}
{{> partial_h2 'Linked Places'}}
{{#each aPlace.linked_places}}
- {{> partial_details_one_row bDistanceInMeters=true}}
+ {{> partial_details_one_row bDistanceInMeters=true bAddressLineUsed=true}}
{{/each}}
{{/if}}
@@ -189,7 +189,7 @@
{{#each aPlace.hierarchy as |lines type|}}
{{> partial_h3 type}}
{{#each lines}}
- {{> partial_details_one_row bDistanceInMeters=true}}
+ {{> partial_details_one_row bDistanceInMeters=true bAddressLineUsed=true}}
{{/each}}
{{/each}}
{{else}}