]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/details.html
navigation link to -search by id-
[nominatim-ui.git] / dist / details.html
index 6ecc5fd04c72b9359520cafd628eb534d7959e65..9064234cc49e9a3f59e3a6c38da38a57eeaa8845 100644 (file)
       <a class="nav-link {{#if hStructured}}active{{/if}}" data-toggle="tab" href="#structured">structured</a>
     </li>
     <div class="search-type-link">
+      <a href="details.html" class="mr-2">search by id</a>
       <a id="switch-to-reverse" href="/reverse.html">reverse search</a>
     </div>
   </ul>
       </button>
     </div>
     <div class="search-type-link">
+      <a href="details.html" class="mr-2">search by id</a>
       <a href="search.html">forward search</a>
     </div>
   </form>
     <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}}