X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/53666d8f38225ad4000b92096a1eac7f38323b76..fdd44e543a8f760c11c186fd27f04b721a043fce:/dist/detailspage.hbs diff --git a/dist/detailspage.hbs b/dist/detailspage.hbs index 8f9ff76..1b39432 100644 --- a/dist/detailspage.hbs +++ b/dist/detailspage.hbs @@ -1,6 +1,6 @@ {{#*inline "partial_details_one_row"}} - + {{#if this.localname}} {{this.localname}} @@ -8,7 +8,7 @@ No Name {{/if}} - {{this.class}}:{{this.type}} + {{formatPlaceType this}} {{osmLink this}} {{this.rank_address}} {{formatAdminLevel this.admin_level}} @@ -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,14 +91,19 @@ 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) + + Place Id + (on this server) + {{aPlace.place_id}} {{#if aPlace.calculated_wikipedia}} @@ -110,7 +120,9 @@ Address Tags {{#each aPlace.addresstags}} -
{{this}} ({{@key}})
+
+ {{this}} ({{@key}}) +
{{/each}} @@ -118,7 +130,9 @@ Extra Tags {{#each aPlace.extratags}} -
{{this}} ({{@key}})
+
+ {{this}} ({{@key}}) +
{{/each}} @@ -131,7 +145,7 @@

Address

- +
@@ -181,7 +195,8 @@ {{else}} {{/if}}
Local name
- display child places + display child places