]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/polygons.html
detailpage link only when osm_id is set
[nominatim-ui.git] / dist / polygons.html
index 6ecc5fd04c72b9359520cafd628eb534d7959e65..36be96195ea394217b9bbbf3e10ee8455a403abc 100644 (file)
     <td>{{this.rank_address}}</td>
     <td>{{formatAdminLevel this.admin_level}}</td>
     <td>{{formatDistance this.distance bDistanceInMeters}}</td>
-    <td><a href="{{detailsURL this}}">details</td>
+    <td>{{#if this.osm_id}}<a href="{{detailsURL this}}">details</a>{{/if}}</td>
   </tr>
 {{/inline}}