From fa594847a35162ecaa596b6d4a94890627a3dce9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 8 Jun 2020 18:14:03 +0000 Subject: [PATCH] location: Do not show the map when we do not know the country Signed-off-by: Michael Tremer --- src/templates/location/lookup.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/templates/location/lookup.html b/src/templates/location/lookup.html index 5ef9d383..6da92955 100644 --- a/src/templates/location/lookup.html +++ b/src/templates/location/lookup.html @@ -4,9 +4,11 @@ {% block main %}
-
- {% module Map(address.country_code) %} -
+ {% if address.country_code %} +
+ {% module Map(address.country_code) %} +
+ {% end %}
-- 2.47.3