diff options
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 |
commit | 14e7f3dddfae93e7bb15cc61ab4104c1a1ae88cb (patch) | |
tree | 8438fc8255c28f8d179239535bcb72665349890e /archaeological_operations/templates/ishtar/sheet_site.html | |
parent | 8c44164415f64e5f10ae5b022c84f542a74cdef1 (diff) | |
download | Ishtar-14e7f3dddfae93e7bb15cc61ab4104c1a1ae88cb.tar.bz2 Ishtar-14e7f3dddfae93e7bb15cc61ab4104c1a1ae88cb.zip |
Archaeological sites: add towns on model
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_site.html')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 9 |
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 %} |