diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-02-14 06:08:16 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:38:56 +0200 |
commit | a8df13b353369c83896320212c0f90a8e805d2ca (patch) | |
tree | a5aa8d61d391046482cd49a2463cd82d5204ac3a /ishtar_common | |
parent | 3e5c308206136fac18b48120339c8528fc19bb3b (diff) | |
download | Ishtar-a8df13b353369c83896320212c0f90a8e805d2ca.tar.bz2 Ishtar-a8df13b353369c83896320212c0f90a8e805d2ca.zip |
Sheets (operations, site, context records and finds): display small map
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/templates/ishtar/blocks/sheet_coordinates.html | 17 |
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 %} + – {{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 %} |