From 14e7f3dddfae93e7bb15cc61ab4104c1a1ae88cb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 18 Feb 2018 17:15:01 +0100 Subject: Archaeological sites: add towns on model --- archaeological_operations/templates/ishtar/sheet_site.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'archaeological_operations/templates') 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 %} +{% if not next %} +{% if item.towns.count %} +

{% trans "Localisation"%}

+
+ {% field_flex_full "Towns" item.towns_codes|join:" ; " %} +
+{% endif %} +{% endif %} + {% trans "Operations" as operations %} {% if item.operations.count %} {% dynamic_table_document operations 'operations' 'archaeological_sites' item.pk '' output %} -- cgit v1.2.3