summaryrefslogtreecommitdiff
path: root/archaeological_context_records
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_context_records
parent3e5c308206136fac18b48120339c8528fc19bb3b (diff)
downloadIshtar-a8df13b353369c83896320212c0f90a8e805d2ca.tar.bz2
Ishtar-a8df13b353369c83896320212c0f90a8e805d2ca.zip
Sheets (operations, site, context records and finds): display small map
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index d53dbcc6b..0e3138583 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -150,10 +150,15 @@
</div>
<h3>{% trans "Localisation"%}</h3>
-
<div class='row'>
- {% field_flex_multiple "Towns" item.operation.towns %}
- {% field_flex_detail "Operation" item.operation %}
+ {% with geo_item=item %}
+ {% include "ishtar/blocks/sheet_simple_map.html"%}
+ <div class="col-12 col-lg-6 flex-wrap">
+ {% field_flex_multiple_full "Towns" item.operation.towns %}
+ {% field_flex_detail_full "Operation" item.operation %}
+ {% include "ishtar/blocks/sheet_coordinates.html"%}
+ </div>
+ {% endwith %}
</div>
{% else %}