From 6f3c83c82e708d9e8f478ca09a6c6a05d20f139f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 3 Mar 2018 13:29:19 +0100 Subject: Sites: add locality and underwater fields (forms and sheet) --- archaeological_operations/templates/ishtar/sheet_site.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/templates') diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html index c4652e3bb..c42cf4f88 100644 --- a/archaeological_operations/templates/ishtar/sheet_site.html +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -42,13 +42,23 @@ {% field_flex_multiple "Remains" item.remains %} -{% if not next %} -{% if item.towns.count %} +{% if item.towns.count or item.locality_ngi or item.locality_cadastral %}

{% trans "Localisation"%}

{% field_flex_full "Towns" item.towns_codes|join:" ; " %} + {% field_flex_full "National Geographic Institute locality" item.locality_ngi "
" "
" %} + {% field_flex_full "Cadastral locality" item.locality_cadastral "
" "
" %}
{% endif %} + +{% if item.oceanographic_service_localisation or item.shipwreck_code or item.sinking_date %} +

{% trans "Underwater"%}

+ +
+ {% field_flex "Shipwreck code" item.shipwreck_code %} + {% field_flex "Sinking date" item.sinking_date %} + {% field_flex_full "Oceanographic service localisation" item.oceanographic_service_localisation "
" "
" %} +
{% endif %} {% trans "Operations" as operations %} -- cgit v1.2.3