diff options
Diffstat (limited to 'searx/templates/simple/result_templates/map.html')
-rw-r--r-- | searx/templates/simple/result_templates/map.html | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html index 1fe0c86ac..2de445168 100644 --- a/searx/templates/simple/result_templates/map.html +++ b/searx/templates/simple/result_templates/map.html @@ -23,17 +23,17 @@ {%- endif -%} {% if result.address.road -%} <span itemprop="streetAddress"> - {% if result.address.house_number %}{{ result.address.house_number }}, {% endif %} - {{ result.address.road }} + {%- if result.address.house_number -%}{{- result.address.house_number -}}, {% endif %} + {{- result.address.road -}} </span><br/> {%- endif %} {%- if result.address.locality -%} - <span itemprop="addressLocality">{{ result.address.locality }}</span> - {% if result.address.postcode %}, <span itemprop="postalCode">{{ result.address.postcode }}</span>{% endif %} + <span itemprop="addressLocality">{{- result.address.locality -}}</span> + {%- if result.address.postcode -%}, <span itemprop="postalCode">{{- result.address.postcode -}}</span>{% endif %} <br/> {%- endif -%} {%- if result.address.country -%} - <span itemprop="addressCountry">{{ result.address.country }}</span> + <span itemprop="addressCountry">{{- result.address.country -}}</span> {%- endif -%} </p> {%- endif -%} @@ -44,11 +44,8 @@ {% if result.osm and (result.osm.type and result.osm.id) -%} <div class="result-content invisible" id="result-overpass-{{ index }}"{% if rtl %} dir="ltr"{% endif %}> - <div id="result-overpass-table-loading-{{ index }}"><img src="{{ url_for('static', filename='img/loader.gif') }}" alt="Loading ..."/></div> + <div id="result-overpass-table-loading-{{ index }}"><div class="loader">{{ _('Loading...') }}</div></div> <table id="result-overpass-table-{{ index }}"> - <thead> - <tr><th>key</th><th>value</th></tr> - </thead> <tbody> </tbody> </table> |