X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/20f270fe814e54e9322f65b58d93bbe24989a18e..8c17a599828a55c8017d60c49d02305424a9ee7e:/src/templates/detailspage.hbs diff --git a/src/templates/detailspage.hbs b/src/templates/detailspage.hbs index 22b4b07..e0225e8 100644 --- a/src/templates/detailspage.hbs +++ b/src/templates/detailspage.hbs @@ -1,184 +1,209 @@ {{#*inline "partial_details_one_row"}} -
Name | +
+ {{#each aPlace.names}}
+
+ {{this}} ({{@key}})
+
+ {{/each}}
+ |
+
Type | +{{aPlace.category}}:{{aPlace.type}} | +
Last Updated | +{{aPlace.indexed_date}} | +
Admin Level | +{{aPlace.admin_level}} | +
Rank | +{{formatSearchRank aPlace.rank_search}} | +
Importance | ++ {{aPlace.calculated_importance}} + {{#unless aPlace.importance}} (estimated){{/unless}} + | +
Coverage | +{{coverageType aPlace}} | +
Centre Point (lat,lon) | ++ {{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}} + | +
OSM | +{{osmLink aPlace}} + |
+ Place Id + (on this server) + | +{{aPlace.place_id}} | +
Wikipedia Calculated | +{{wikipediaLink aPlace}} | +
Computed Postcode | +{{aPlace.calculated_postcode}} | +
Address Tags | +
+ {{#each aPlace.addresstags}}
+
+ {{this}} ({{@key}})
+
+ {{/each}}
+ |
+
Extra Tags | +
+ {{#each aPlace.extratags}}
+
+ {{this}} ({{@key}})
+
+ {{/each}}
+ |
+
Name | -
- {{#each aPlace.names}}
- {{this}} ({{@key}})
- {{/each}}
- |
-
Type | -{{aPlace.category}}:{{aPlace.type}} | -
Last Updated | -{{aPlace.indexed_date}} | -
Admin Level | -{{aPlace.admin_level}} | -
Rank | -{{formatSearchRank aPlace.rank_search}} | -
Importance | -- {{aPlace.calculated_importance}} - {{#unless aPlace.importance}} (estimated){{/unless}} - | -
Coverage | -{{coverageType aPlace}} | -
Centre Point (lat,lon) | -{{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}} | -
OSM | -{{osmLink aPlace}} - |
Wikipedia Calculated | -{{wikipediaLink aPlace}} | -
Computed Postcode | -{{aPlace.calculated_postcode}} | -
Address Tags | -
- {{#each aPlace.addresstags}}
- {{this}} ({{@key}})
- {{/each}}
- |
-
Extra Tags | -
- {{#each aPlace.extratags}}
- {{this}} ({{@key}})
- {{/each}}
- |
-
Local name | -Type | -OSM | -Address rank | -Admin level | -Distance | -- |
---|
Local name | +Type | +OSM | +Address rank | +Admin level | +Distance | ++ |
---|