diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-03 13:29:19 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-03 13:29:19 +0100 |
commit | 2dd76d272b7d2c034739d8dc726512a2e2540aa0 (patch) | |
tree | 7108b211d2c9f66cdf52bc1f296f3a93d72f1554 /archaeological_operations/templates | |
parent | 57d04d11a5e173a775656bb8ed173a26704ed68f (diff) | |
download | Ishtar-2dd76d272b7d2c034739d8dc726512a2e2540aa0.tar.bz2 Ishtar-2dd76d272b7d2c034739d8dc726512a2e2540aa0.zip |
Sites: add locality and underwater fields (forms and sheet)
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 14 |
1 files changed, 12 insertions, 2 deletions
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 %} </div> -{% if not next %} -{% if item.towns.count %} +{% if item.towns.count or item.locality_ngi or item.locality_cadastral %} <h3>{% trans "Localisation"%}</h3> <div class="row"> {% field_flex_full "Towns" item.towns_codes|join:" ; " %} + {% field_flex_full "National Geographic Institute locality" item.locality_ngi "<pre>" "</pre>" %} + {% field_flex_full "Cadastral locality" item.locality_cadastral "<pre>" "</pre>" %} </div> {% endif %} + +{% if item.oceanographic_service_localisation or item.shipwreck_code or item.sinking_date %} +<h3>{% trans "Underwater"%}</h3> + +<div class="row"> + {% field_flex "Shipwreck code" item.shipwreck_code %} + {% field_flex "Sinking date" item.sinking_date %} + {% field_flex_full "Oceanographic service localisation" item.oceanographic_service_localisation "<pre>" "</pre>" %} +</div> {% endif %} {% trans "Operations" as operations %} |