]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/reverse.html
change map to cover complete height of screen
[nominatim-ui.git] / dist / reverse.html
index 1b809687c0820f8b19f71b40e5e8746da623155a..e323dcc10ec647e794612b338610034d006090d3 100644 (file)
@@ -23,7 +23,7 @@
     <div class="row">
       <div class="col-4">
         <div class="brand">
     <div class="row">
       <div class="col-4">
         <div class="brand">
-          <a href="/">
+          <a href="search.html">
             <img alt="logo" src="assets/images/osm_logo.120px.png" width="30" height="30"/>
             <h1>Nominatim</h1>
           </a>
             <img alt="logo" src="assets/images/osm_logo.120px.png" width="30" height="30"/>
             <h1>Nominatim</h1>
           </a>
       </button>
     </div>
     <div class="search-type-link">
       </button>
     </div>
     <div class="search-type-link">
-      <a href="/search.html">forward search</a>
+      <a href="search.html">forward search</a>
     </div>
   </form>
 </div>
     </div>
   </form>
 </div>
     <td>{{osmLink this}}</td>
     <td>{{this.rank_address}}</td>
     <td>{{formatAdminLevel this.admin_level}}</td>
     <td>{{osmLink this}}</td>
     <td>{{this.rank_address}}</td>
     <td>{{formatAdminLevel this.admin_level}}</td>
-    <td>{{formatDistance this.distance}}</td>
+    <td>{{formatDistance this.distance bDistanceInMeters}}</td>
     <td>{{detailsPermaLink this 'details >'}}</td>
   </tr>
 {{/inline}}
     <td>{{detailsPermaLink this 'details >'}}</td>
   </tr>
 {{/inline}}
         <tbody>
           {{#if aPlace.address}}
             {{#each aPlace.address}}
         <tbody>
           {{#if aPlace.address}}
             {{#each aPlace.address}}
-              {{> partial_details_one_row}}
+              {{> partial_details_one_row bDistanceInMeters=false}}
             {{/each}}
           {{/if}}
 
           {{#if aPlace.linked_places}}
             {{> partial_h2 'Linked Places'}}
             {{#each aPlace.linked_places}}
             {{/each}}
           {{/if}}
 
           {{#if aPlace.linked_places}}
             {{> partial_h2 'Linked Places'}}
             {{#each aPlace.linked_places}}
-              {{> partial_details_one_row}}
+              {{> partial_details_one_row bDistanceInMeters=true}}
             {{/each}}
           {{/if}}
 
             {{/each}}
           {{/if}}
 
             {{#each aPlace.hierarchy as |lines type|}}
               {{> partial_h3 type}}
               {{#each lines}}
             {{#each aPlace.hierarchy as |lines type|}}
               {{> partial_h3 type}}
               {{#each lines}}
-                {{> partial_details_one_row}}
+                {{> partial_details_one_row bDistanceInMeters=true}}
               {{/each}}
             {{/each}}
           {{else}}
               {{/each}}
             {{/each}}
           {{else}}