summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/templates/ishtar/blocks/sheet_coordinates.html17
1 files changed, 17 insertions, 0 deletions
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 %}
+<dl class="col-12 d-flex flex-wrap">
+ <dt class="col-12">{% trans "Coordinates" %}</dt>
+ <dd class="col-12">
+ {% 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 %}
+ &ndash; {{geo_item.spatial_reference_system.label}}{% if geo_item.spatial_reference_system.srid %} -
+ {% trans "SRID"%} {{geo_item.spatial_reference_system.srid}}{% endif %}
+ {% endif %}
+ </dd>
+</dl>
+{% endif %}