summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
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
commita8df13b353369c83896320212c0f90a8e805d2ca (patch)
treea5aa8d61d391046482cd49a2463cd82d5204ac3a /archaeological_finds
parent3e5c308206136fac18b48120339c8528fc19bb3b (diff)
downloadIshtar-a8df13b353369c83896320212c0f90a8e805d2ca.tar.bz2
Ishtar-a8df13b353369c83896320212c0f90a8e805d2ca.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.html22
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 %}
- &ndash; {{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>