X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/9e2946d9a9ff5a1436403dfe051bf9f8866da178..f3a77b08006768e90b0e2d6f7797a610630f5cfd:/dist/detailspage.hbs?ds=sidebyside diff --git a/dist/detailspage.hbs b/dist/detailspage.hbs index 6fa2886..929cf71 100644 --- a/dist/detailspage.hbs +++ b/dist/detailspage.hbs @@ -13,7 +13,7 @@ {{this.rank_address}} {{formatAdminLevel this.admin_level}} {{formatDistance this.distance}} - {{detailsLink this null}} + {{detailsPermaLink this 'details >'}} {{/inline}} @@ -38,7 +38,10 @@
-

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

+

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

{{formatMapIcon aPlace.icon}} @@ -51,7 +54,9 @@ Name {{#each aPlace.names}} -
{{this}} ({{@key}})
+
+ {{this}} ({{@key}}) +
{{/each}} @@ -86,12 +91,21 @@ Centre Point (lat,lon) - {{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}} + + {{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}} + OSM {{osmLink aPlace}} + + + Place Id + (on this server) + + {{aPlace.place_id}} + {{#if aPlace.calculated_wikipedia}} Wikipedia Calculated @@ -106,7 +120,9 @@ Address Tags {{#each aPlace.addresstags}} -
{{this}} ({{@key}})
+
+ {{this}} ({{@key}}) +
{{/each}} @@ -114,7 +130,9 @@ Extra Tags {{#each aPlace.extratags}} -
{{this}} ({{@key}})
+
+ {{this}} ({{@key}}) +
{{/each}} @@ -165,8 +183,8 @@ {{/each}} {{/if}} + {{> partial_h2 'Parent Of'}} {{#if aPlace.hierarchy}} - {{> partial_h2 'Parent Of'}} {{#each aPlace.hierarchy as |lines type|}} {{> partial_h3 type}} @@ -174,6 +192,13 @@ {{> partial_details_one_row}} {{/each}} {{/each}} + {{else}} + + + display child places + + {{/if}} {{tooManyHierarchyLinesWarning aPlace}}