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 | 1802bffb4d452550e9349875aeee81db8d030b44 (patch) | |
tree | a5aa8d61d391046482cd49a2463cd82d5204ac3a /archaeological_finds | |
parent | f316262066c53127323594d01d0181824d45ded4 (diff) | |
download | Ishtar-1802bffb4d452550e9349875aeee81db8d030b44.tar.bz2 Ishtar-1802bffb4d452550e9349875aeee81db8d030b44.zip |
Sheets (operations, site, context records and finds): display small map
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_basefind.html | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_basefind.html b/archaeological_finds/templates/ishtar/sheet_basefind.html index fa96ddf0e..aa41ee34b 100644 --- a/archaeological_finds/templates/ishtar/sheet_basefind.html +++ b/archaeological_finds/templates/ishtar/sheet_basefind.html @@ -65,27 +65,15 @@ <div class="clearfix"> </div> {% endif %} - <h3>{% trans "Map"%}</h3> + <h3>{% trans "Localisation"%}</h3> <div class='row'> {% with geo_item=base_find %} {% include "ishtar/blocks/sheet_simple_map.html"%} + <div class="col-12 col-lg-6 flex-wrap"> + {% include "ishtar/blocks/sheet_coordinates.html"%} + {% field_flex_full "Point of topographic reference" base_find.topographic_localisation %} + </div> {% endwith %} - {% field_flex "Point of topographic reference" base_find.topographic_localisation %} - <dl class="col-12 col-lg-6 d-flex flex-wrap row"> - <dt class="col-4">{% trans "Coordinates" %}</dt> - <dd class="col-8"> - {% 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:"-"}}, - {% if base_find.estimated_error_y %} ({% trans "error:" %} {{base_find.estimated_error_y}}){% endif %}, - {% trans "Z:"%} {{base_find.z|default_if_none:"-"}} - {% if base_find.estimated_error_z %} ({% trans "error:" %} {{base_find.estimated_error_z}}){% endif %} - {% if base_find.spatial_reference_system %} - – {{base_find.spatial_reference_system.label}}{% if base_find.spatial_reference_system.srid %} - - {% trans "SRID"%} {{base_find.spatial_reference_system.srid}}{% endif %} - {% endif %} - </dd> - </dl> </div> {% endif %} </div> |