<td>Last Updated</td>
<td>{{aPlace.indexed_date}}</td>
</tr>
+ {{#if (isAdminBoundary aPlace) }}
<tr>
<td>Admin Level</td>
<td>{{aPlace.admin_level}}</td>
</tr>
+ {{/if}}
<tr>
<td>Search Rank</td>
<td>{{aPlace.rank_search}}</td>
<td>Last Updated</td>
<td>{{aPlace.indexed_date}}</td>
</tr>
+ {{#if (isAdminBoundary aPlace) }}
<tr>
<td>Admin Level</td>
<td>{{aPlace.admin_level}}</td>
</tr>
+ {{/if}}
<tr>
<td>Search Rank</td>
<td>{{aPlace.rank_search}}</td>
if (iRank <= 30) return 'house / building';
return 'other';
},
+ isAdminBoundary: function (aPlace) {
+ return aPlace.category === 'boundary' && aPlace.type === 'administrative';
+ },
tooManyHierarchyLinesWarning: function (aPlace) {
if (!aPlace.hierarchy) return '';
<td>Last Updated</td>
<td>{{aPlace.indexed_date}}</td>
</tr>
+ {{#if (isAdminBoundary aPlace) }}
<tr>
<td>Admin Level</td>
<td>{{aPlace.admin_level}}</td>
</tr>
+ {{/if}}
<tr>
<td>Search Rank</td>
<td>{{aPlace.rank_search}}</td>
<td>Last Updated</td>
<td>{{aPlace.indexed_date}}</td>
</tr>
+ {{#if (isAdminBoundary aPlace) }}
<tr>
<td>Admin Level</td>
<td>{{aPlace.admin_level}}</td>
</tr>
+ {{/if}}
<tr>
<td>Search Rank</td>
<td>{{aPlace.rank_search}}</td>
<td>Last Updated</td>
<td>{{aPlace.indexed_date}}</td>
</tr>
+ {{#if (isAdminBoundary aPlace) }}
<tr>
<td>Admin Level</td>
<td>{{aPlace.admin_level}}</td>
</tr>
+ {{/if}}
<tr>
<td>Search Rank</td>
<td>{{aPlace.rank_search}}</td>
if (iRank <= 30) return 'house / building';
return 'other';
},
+ isAdminBoundary: function (aPlace) {
+ return aPlace.category === 'boundary' && aPlace.type === 'administrative';
+ },
tooManyHierarchyLinesWarning: function (aPlace) {
if (!aPlace.hierarchy) return '';
<td>Last Updated</td>
<td>{{aPlace.indexed_date}}</td>
</tr>
+ {{#if (isAdminBoundary aPlace) }}
<tr>
<td>Admin Level</td>
<td>{{aPlace.admin_level}}</td>
</tr>
+ {{/if}}
<tr>
<td>Search Rank</td>
<td>{{aPlace.rank_search}}</td>