<td>{{this.rank_address}}</td>
<td>{{formatAdminLevel this.admin_level}}</td>
<td>{{formatDistance this.distance}}</td>
- <td>{{detailsLink this}}</td>
+ <td>{{detailsLink this null}}</td>
</tr>
{{/inline}}
<div class="container">
<div class="row">
<div class="col-sm-10">
- <h1>{{aPlace.localname}}</h1>
+ <h1>{{aPlace.localname}} <small>{{detailsPermaLink aPlace 'link to this page'}}</small></h1>
</div>
<div class="col-sm-2 text-right">
{{formatMapIcon aPlace.icon}}
</tr>
<tr>
<td>Rank</td>
- <td>{{aPlace.rank_search_label}}</td>
+ <td>{{formatSearchRank aPlace.rank_search}}</td>
</tr>
{{#if aPlace.calculated_importance}}
<tr>
<td>{{coverageType aPlace}}</td>
</tr>
<tr>
- <td>Centre Point</td>
- <td>{{aPlace.lat}},{{aPlace.lon}}</td>
+ <td>Centre Point (lat,lon)</td>
+ <td>{{aPlace.centroid.coordinates.[1]}},{{aPlace.centroid.coordinates.[0]}}</td>
</tr>
<tr>
<td>OSM</td>
{{/if}}
<tr>
<td>Computed Postcode</td>
- <td>{{aPlace.postcode}}</td>
+ <td>{{aPlace.calculated_postcode}}</td>
</tr>
<tr>
<td>Address Tags</td>
{{/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}}
</tbody>
</table>
</div>