]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/search.html
details page: addressline.isaddress is a boolean, not t/f string
[nominatim-ui.git] / dist / search.html
index 5b2efc1d67b902a1770384e057b445c2e721ae46..1e2fab82b003c97f3f474a1ce80816ddb4da305b 100644 (file)
             About &amp; Help <span class="caret"></span>
           </button>
           <ul class="dropdown-menu dropdown-menu-right">
-            <li><a href="https://wiki.openstreetmap.org/wiki/Nominatim" target="_blank">Documentation</a></li>
-            <li><a href="https://wiki.openstreetmap.org/wiki/Nominatim/FAQ" target="_blank">FAQ</a></li>
+            <li><a href="https://nominatim.org/release-docs/develop/api/Overview/" target="_blank">API Reference</a></li>
+            <li><a href="https://nominatim.org/release-docs/develop/api/Faq/" target="_blank">FAQ</a></li>
+            <li><a href="https://help.openstreetmap.org/tags/nominatim/">OpenStreetMap Help</a></li>
+            <li><a href="https://github.com/openstreetmap/Nominatim">Nominatim on Github</a></li>
             <li role="separator" class="divider"></li>
             <li><a href="#" class="" data-toggle="modal" data-target="#report-modal">Report problem with results</a></li>
           </ul>
         </div>
         <div class="modal-body">
           <p>
-            Before reporting problems please read the <a target="_blank" href="https://wiki.openstreetmap.org/wiki/Nominatim">user documentation</a>
+            Before reporting problems please read the <a target="_blank" href="https://nominatim.org/release-docs/develop/api/Overview/">user documentation</a>
             and
-            <a target="_blank" href="https://wiki.openstreetmap.org/wiki/Nominatim/FAQ">FAQ</a>.
+            <a target="_blank" href="https://nominatim.org/release-docs/develop/api/Faq/">FAQ</a>.
 
             If your problem relates to the address of a particular search result please use the 'details' link 
             to check how the address was generated before reporting a problem.
           </p>
           <p>
-            Use <a target="_blank" href="https://github.com/openstreetmap/nominatim/issues">Nominatim issues on github</a>
+            Use <a target="_blank" href="https://github.com/openstreetmap/Nominatim/issues">Nominatim issues on github</a>
             to report problems.
           </p>
           <p>
     <span class="type">({{formatLabel aResult}})</span>
     <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>  
 
-    <a class="btn btn-default btn-xs details" href="details.html?place_id={{aResult.place_id}}">details</a>
+    <a class="btn btn-default btn-xs details"
+       href="details.html?osmtype={{shortOSMType aResult.osm_type}}&osmid={{aResult.osm_id}}">details</a>
   </div>
 {{/inline}}
 
 
 <form class="form-inline" role="search" accept-charset="UTF-8" action="">
   <div class="form-group">
-    <input id="q" name="q" type="text" class="form-control input-sm" placeholder="Search" value="{{sQuery}}">
+    <input id="q"
+           name="q"
+           type="text"
+           class="form-control input-sm"
+           placeholder="Search"
+           value="{{sQuery}}" />
   </div>
   <div class="form-group search-button-group">
     <button type="submit" class="btn btn-primary btn-sm">Search</button>
     {{/if}}
     <input type="hidden" name="viewbox" value="{{sViewBox}}" />
     <div class="checkbox-inline">
-      <input type="checkbox" id="use_viewbox" {{#if sViewBox}}checked="checked"{{/if}}>
+      <input type="checkbox"
+             id="use_viewbox" {{#if sViewBox}}checked="checked"{{/if}}>
       <label for="use_viewbox">apply viewbox</label>
     </div>
   </div>
       {{#if aSearchResults}}
         {{#if sMoreURL}}
           <div class="more">
-            <a class="btn btn-primary" href="{{sMoreURL}}">Search for more results</a>
+            <a class="btn btn-primary" href="{{sMoreURL}}">
+              Search for more results
+            </a>
           </div>
         {{/if}}
       {{else}}
     <div id="intro" class="sidebar">
       <h2>Welcome to Nominatim</h2>
 
-      <p>Nominatim is a search engine for <a href="https://www.openstreetmap.org">OpenStreetMap</a>
-      data. This is the debugging interface. You may search for a name or address(forward search) or
-      look up data by its geographic coordinate(reverse search). Each result comes with a
-      link to a details page where you can inspect what data about the object is saved in 
-      the database and investigate how the address of the object has been computed.</p>
-
-      For more information visit the <a href="https://wiki.openstreetmap.org/wiki/Nominatim">Nominatim wiki page</a>.
+      <p>
+        Nominatim is a search engine for
+        <a href="https://www.openstreetmap.org">OpenStreetMap</a> data. This
+        is the debugging interface. You may search for a name or address
+        (forward search) or look up data by its geographic coordinate (reverse
+        search). Each result comes with a link to a details page where you
+        can inspect what data about the object is saved in the database and
+        investigate how the address of the object has been computed.
+      </p>
+
+      For more information visit the
+      <a href="https://nominatim.org">Nominatim home page</a>.
     </div>
 
   {{/if}}