summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/sheet_operation.html
diff options
context:
space:
mode:
authorroot <root@viserion.(none)>2013-05-06 18:32:13 +0000
committerroot <root@viserion.(none)>2013-05-06 18:32:13 +0000
commit8b3f35c4f3ff05c9426b3b4f83f2a3113d7add83 (patch)
treed8f21afdd49ae7dcbacc17cc09e15f088c162455 /archaeological_operations/templates/ishtar/sheet_operation.html
parentdb2ed3606ba1171cafc3f8ff86b75b9f48bcb50e (diff)
parent548aec29bcaa8348f5d28402783165cff302830d (diff)
downloadIshtar-8b3f35c4f3ff05c9426b3b4f83f2a3113d7add83.tar.bz2
Ishtar-8b3f35c4f3ff05c9426b3b4f83f2a3113d7add83.zip
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_operation.html')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operation.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 6fdcfe62d..3a6a20e74 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -45,10 +45,10 @@
<h3>{% trans "Localisation"%}</h3>
<p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p>
-<p><label>{%trans "Main address:"%}</label> <span class='value'>{{ item.associated_file.address }}</span></p>
+{% 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%}
{% if item.associated_file.postal_code %}<p><label>{%trans "Postal code:"%}</label> <span class='value'>{{ item.associated_file.postal_code }}</span></p>{%endif%}
-
+{%endif%}
{% comment %}
<p><label>{%trans "Lambert X:"%}</label> <span class='value'>{{ item.lambert_x }}</span></p>
<p><label>{%trans "Lambert Y:"%}</label> <span class='value'>{{ item.lambert_y }}</span></p>