]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/templates/reversepage.hbs
show admin level only for admin boundaries
[nominatim-ui.git] / src / templates / reversepage.hbs
index e5a9d683a5391aff494631d6168de02a4d22ee8c..534b87dd6395945cddcc7d35b344f17ddd98ca4f 100644 (file)
@@ -7,8 +7,7 @@
     <span class="type">{{formatLabel aResult}}</span>
     <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>  
 
-    <a class="details btn btn-outline-secondary btn-sm"
-       href="details.html?osmtype={{shortOSMType aResult.osm_type}}&osmid={{aResult.osm_id}}">details</a>
+    <a class="details btn btn-outline-secondary btn-sm" href="{{detailsURL aResult}}">details</a>
   </div>
 {{/inline}}
 
@@ -38,6 +37,7 @@
       </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>