X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/ed3f4d4b1762987cf29af690b6430708348399e6..6638f08e4f455405690910627c36dea591aa5f38:/src/templates/detailspage.hbs?ds=sidebyside diff --git a/src/templates/detailspage.hbs b/src/templates/detailspage.hbs index 4ee9d46..22b4b07 100644 --- a/src/templates/detailspage.hbs +++ b/src/templates/detailspage.hbs @@ -13,7 +13,7 @@ {{this.rank_address}} {{formatAdminLevel this.admin_level}} {{formatDistance this.distance}} - {{detailsLink this}} + {{detailsLink this null}} {{/inline}} @@ -38,7 +38,7 @@
-

{{aPlace.localname}}

+

{{aPlace.localname}} {{detailsPermaLink aPlace 'link to this page'}}

{{formatMapIcon aPlace.icon}} @@ -69,7 +69,7 @@ Rank - {{aPlace.rank_search_label}} + {{formatSearchRank aPlace.rank_search}} {{#if aPlace.calculated_importance}} @@ -85,8 +85,8 @@ {{coverageType aPlace}} - Centre Point - {{aPlace.lat}},{{aPlace.lon}} + Centre Point (lat,lon) + {{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}} OSM @@ -100,7 +100,7 @@ {{/if}} Computed Postcode - {{aPlace.postcode}} + {{aPlace.calculated_postcode}} Address Tags @@ -165,17 +165,17 @@ {{/each}} {{/if}} - {{#if aPlace.parentof}} + {{#if aPlace.hierarchy}} {{> partial_h2 'Parent Of'}} - {{#each aPlace.parentof as |lines type|}} + {{#each aPlace.hierarchy as |lines type|}} {{> partial_h3 type}} {{#each lines}} {{> partial_details_one_row}} {{/each}} {{/each}} {{/if}} - {{tooManyParentLinesWarning aPlace}} + {{tooManyHierarchyLinesWarning aPlace}}