From 46dd502592f5ad09fab761c9311065b72ee3e55d Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Tue, 4 Nov 2014 12:58:12 +0100 Subject: [PATCH] [fix][template][oscar] print ',' only if postcode is found --- searx/templates/oscar/result_templates/map.html | 4 ++-- 1 file 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 @@
{% endif %} {% if result.address.locality %} - {{ result.address.locality }}, - {% if result.address.postcode %} {{ result.address.postcode }}{% endif %} + {{ result.address.locality }} + {% if result.address.postcode %}, {{ result.address.postcode }}{% endif %}
{% endif %} {% if result.address.country %}