diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-25 12:57:00 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-25 12:57:00 +0100 |
| commit | 4fef34efcb087167838add32489531bfb63818a3 (patch) | |
| tree | 8c7b16e0f32c77b4a12f1cdfec5c568638c20130 /archaeological_operations/templates/ishtar/sheet_operation.html | |
| parent | e92437717ba1e0651b517e0455364ce08784a61e (diff) | |
| download | Ishtar-4fef34efcb087167838add32489531bfb63818a3.tar.bz2 Ishtar-4fef34efcb087167838add32489531bfb63818a3.zip | |
Change archaeological sites form (more robust)
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_operation.html')
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 87cf53b27..14210046b 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -96,8 +96,10 @@ {% field "Comment" item.comment "<pre>" "</pre>" %} +{% if item.towns.count %} <h3>{% trans "Localisation"%}</h3> <p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p> +{% endif %} {% if item.associated_file.address %}<p><label>{%trans "Main address:"%}</label> <span class='value'>{{ item.associated_file.address }}</span></p> {% if item.associated_file.address_complement %}<p><label>{%trans "Complement:"%}</label> <span class='value'>{{ item.associated_file.address_complement }}</span></p>{%endif%} @@ -120,6 +122,11 @@ {% endfor %} {% endif %} +{% if item.archaeological_sites.count %} +{% trans "Archaeological sites" as archaeologicalsites_label %} +{% table_archaeologicalsites archaeologicalsites_label item.archaeological_sites.all %} +{% endif %} + {% trans "Associated parcels" as parcels_label %} {% include "ishtar/blocks/window_tables/parcels.html" %} |
