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 | d9112d6231e45671cf4eda59ff93035a0bcc72af (patch) | |
| tree | 8c7b16e0f32c77b4a12f1cdfec5c568638c20130 /archaeological_operations/templates/ishtar/sheet_operation.html | |
| parent | bc6a1747e2677580cbed970cb895b558961acd3a (diff) | |
| download | Ishtar-d9112d6231e45671cf4eda59ff93035a0bcc72af.tar.bz2 Ishtar-d9112d6231e45671cf4eda59ff93035a0bcc72af.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" %} |
