summaryrefslogtreecommitdiff
path: root/ishtar/templates/sheet_file.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/templates/sheet_file.html')
-rw-r--r--ishtar/templates/sheet_file.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar/templates/sheet_file.html b/ishtar/templates/sheet_file.html
index 1ba043239..ea5842991 100644
--- a/ishtar/templates/sheet_file.html
+++ b/ishtar/templates/sheet_file.html
@@ -47,7 +47,7 @@
{% if item.address_complement %}<p><label>{%trans "Complement:"%}</label> <span class='value'>{{ item.address_complement }}</span></p>{%endif%}
{% if item.postal_code %}<p><label>{%trans "Postal code:"%}</label> <span class='value'>{{ item.postal_code }}</span></p>{%endif%}
-<p><label>{%trans "Surface:"%}</label> <span class='value'>{{ item.total_surface }} m<sup>2</sup> ({{ item.total_surface_ha }} ha)</span></p>
+<p><label>{%trans "Surface:"%}</label>{% if item.total_surface %} <span class='value'>{{ item.total_surface }} m<sup>2</sup> ({{ item.total_surface_ha }} ha)</span>{%endif%}</p>