]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/templates/detailspage.hbs
use new place_type from details JSON endpoint
[nominatim-ui.git] / src / templates / detailspage.hbs
index 929cf718bed813bc6b1fcf79c6ea2f544ad3b1b4..e93e875fa0217fa00c789ef0954c57e8174a9ab7 100644 (file)
@@ -8,7 +8,7 @@
         <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>