From a59c4cba89c09d60674ee6a70eadea1b4e14a08c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 14 Feb 2019 17:01:18 +0100 Subject: Fix geo post save (bad overload of source) --- ishtar_common/templates/ishtar/blocks/sheet_coordinates.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html b/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html index 8637853e3..bd0c1ef19 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html @@ -14,5 +14,9 @@ {% endif %} +{% if geo_item.point_source == 'P' or not geo_item.multi_polygon %} {% field_flex_full "Point source" geo_item.geo_point_source %} +{% else %} +{% field_flex_full "Polygon source" geo_item.geo_polygon_source %} +{% endif %} {% endif %} -- cgit v1.2.3