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_context_records/templates | |
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_context_records/templates')
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 11 |
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 %} |