diff options
| author | Alex <alex@al-f.net> | 2018-08-09 16:13:50 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2018-08-14 17:21:30 +0200 |
| commit | 3ba0d0516e5cabce8ebcc9a27c0fe069fa23f52c (patch) | |
| tree | dffd7311f1bf9bba9386101c67f5e03c30a53116 /searx/templates/simple/result_templates | |
| parent | 845ba79e7532dedad2bb96e5d68504b6729bee14 (diff) | |
simple theme update
- npm package update
- apply #1226
- implement vim help dialog
- display cookies and search URL with preferences
- allow to enable / disable Open Access DOI rewrite
- add a clear text button on the left of the search button
- implement #1011 : the HTML title page is not set when using POST
- remove searx/static/themes/simple/img/loader.gif
- use full width when only there are only images as result
Diffstat (limited to 'searx/templates/simple/result_templates')
| -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> |