]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/details.html
details page: addressline.isaddress is a boolean, not t/f string
[nominatim-ui.git] / dist / details.html
index d22be818acdf32e1a871709f5e44d7a15f5e5d9a..0267b5f5d0a03929d3ca280943787fe8ccd0b8c4 100644 (file)
 <script id="detailspage-template" type="text/x-handlebars-template">
 
 {{#*inline "partial_details_one_row"}}
-  <tr class="{{isaddresses_unused this}}">
+  <tr class="{{#unless this.isaddress}}notused{{/unless}}">
     <td class="name">
       {{#if this.localname}}
         {{this.localname}}
         <span class="noname">No Name</span>
       {{/if}}
     </td>
-    <td>{{this.class}}:{{this.type}}</td>
+    <td>{{formatPlaceType this}}</td>
     <td>{{osmLink this}}</td>
     <td>{{this.rank_address}}</td>
     <td>{{formatAdminLevel this.admin_level}}</td>