From a39df7b6088527faf4108e9a50040e8165ab6a3d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 7 Feb 2019 18:20:11 +0100 Subject: Map: manage show detail for simple map --- archaeological_finds/templates/ishtar/sheet_basefind.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/sheet_basefind.html b/archaeological_finds/templates/ishtar/sheet_basefind.html index 74a2b527e..fa96ddf0e 100644 --- a/archaeological_finds/templates/ishtar/sheet_basefind.html +++ b/archaeological_finds/templates/ishtar/sheet_basefind.html @@ -66,15 +66,14 @@ {% endif %}

{% trans "Map"%}

- {% with geo_item=base_find %} - {% include "ishtar/blocks/sheet_simple_map.html"%} - {% endwith %} - {% if base_find.x or base_find.y or base_find.topographic_localisation %}
+ {% with geo_item=base_find %} + {% include "ishtar/blocks/sheet_simple_map.html"%} + {% endwith %} {% field_flex "Point of topographic reference" base_find.topographic_localisation %} -
-
{% trans "Coordinates" %}
-
+
+
{% trans "Coordinates" %}
+
{% trans "X:"%} {{base_find.x|default_if_none:"-"}} {% if base_find.estimated_error_x %} ({% trans "error:" %} {{base_find.estimated_error_x}}){% endif %}, {% trans "Y:"%} {{base_find.y|default_if_none:"-"}}, @@ -89,6 +88,5 @@
{% endif %} - {% endif %} -- cgit v1.2.3