diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-11-04 12:58:12 +0100 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-11-04 12:58:12 +0100 |
commit | 46dd502592f5ad09fab761c9311065b72ee3e55d (patch) | |
tree | 9bd9af2780ec3896048056dc1ea311582c73260c | |
parent | c0fc248213066ef0ad4ed439d570b225b78afd44 (diff) | |
download | searxng-46dd502592f5ad09fab761c9311065b72ee3e55d.tar.gz searxng-46dd502592f5ad09fab761c9311065b72ee3e55d.zip |
[fix][template][oscar] print ',' only if postcode is found
-rw-r--r-- | searx/templates/oscar/result_templates/map.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html index 2c1e549e3..a7c37dd59 100644 --- a/searx/templates/oscar/result_templates/map.html +++ b/searx/templates/oscar/result_templates/map.html @@ -20,8 +20,8 @@ </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 %}
|