summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-18 17:15:01 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-18 17:15:01 +0100
commit59959c1b8dee6029557369527428b557140e4c98 (patch)
tree8438fc8255c28f8d179239535bcb72665349890e /archaeological_operations/templates
parentcc37287f27f591004b79436cb46d842f852e8da0 (diff)
downloadIshtar-59959c1b8dee6029557369527428b557140e4c98.tar.bz2
Ishtar-59959c1b8dee6029557369527428b557140e4c98.zip
Archaeological sites: add towns on model
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html
index 211f4f003..87bec9bd7 100644
--- a/archaeological_operations/templates/ishtar/sheet_site.html
+++ b/archaeological_operations/templates/ishtar/sheet_site.html
@@ -42,6 +42,15 @@
{% field_flex_multiple "Remains" item.remains %}
</div>
+{% if not next %}
+{% if item.towns.count %}
+<h3>{% trans "Localisation"%}</h3>
+<div class="row">
+ {% field_flex_full "Towns" item.towns_codes|join:" ; " %}
+</div>
+{% endif %}
+{% endif %}
+
{% trans "Operations" as operations %}
{% if item.operations.count %}
{% dynamic_table_document operations 'operations' 'archaeological_sites' item.pk '' output %}