]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/templates/reversepage.hbs
Merge pull request #35 from mtmail/checking-isaddress
[nominatim-ui.git] / src / templates / reversepage.hbs
index 280a28255cde566c2fc1615690f007ccd7f4f670..e5a9d683a5391aff494631d6168de02a4d22ee8c 100644 (file)
@@ -1,10 +1,7 @@
 
 {{#*inline "partial_one_result"}}
   <div class="result" data-position="{{iResNum}}">
-    {{#if aResult.icon}}
-      <img src="{{env.Images_Base_Url}}{{aResult.icon}}" />
-      {{!-- {{formatMapIcon aResult.icon}} --}}
-    {{/if}}
+    {{formatMapIcon aResult}}
 
     <span class="name">{{aResult.display_name}}</span>
     <span class="type">{{formatLabel aResult}}</span>
@@ -41,7 +38,7 @@
       </button>
     </div>
     <div class="search-type-link">
-      <a href="/search.html">forward search</a>
+      <a href="search.html">forward search</a>
     </div>
   </form>
 </div>