From a8df13b353369c83896320212c0f90a8e805d2ca Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 14 Feb 2019 06:08:16 +0100 Subject: Sheets (operations, site, context records and finds): display small map --- .../templates/ishtar/blocks/sheet_coordinates.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ishtar_common/templates/ishtar/blocks/sheet_coordinates.html (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html b/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html new file mode 100644 index 000000000..c29f7de61 --- /dev/null +++ b/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html @@ -0,0 +1,17 @@ +{% load i18n %}{% if geo_item.x or geo_item.y or geo_item.z %} +
+
{% trans "Coordinates" %}
+
+ {% trans "X:"%} {{geo_item.x|default_if_none:"-"}} + {% if geo_item.estimated_error_x %} ({% trans "error:" %} {{geo_item.estimated_error_x}}){% endif %}, + {% trans "Y:"%} {{geo_item.y|default_if_none:"-"}}, + {% if geo_item.estimated_error_y %} ({% trans "error:" %} {{geo_item.estimated_error_y}}){% endif %}, + {% trans "Z:"%} {{geo_item.z|default_if_none:"-"}} + {% if geo_item.estimated_error_z %} ({% trans "error:" %} {{geo_item.estimated_error_z}}){% endif %} + {% if geo_item.spatial_reference_system %} + – {{geo_item.spatial_reference_system.label}}{% if geo_item.spatial_reference_system.srid %} - + {% trans "SRID"%} {{geo_item.spatial_reference_system.srid}}{% endif %} + {% endif %} +
+
+{% endif %} -- cgit v1.2.3