From c0a4eb610acf30296fc4d9dadc4bd58fd1da67a9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 6 May 2013 20:07:44 +0200 Subject: Minor improve on sheet display --- archaeological_operations/templates/ishtar/sheet_operation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations') 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 @@

{% trans "Localisation"%}

{{ item.towns.all|join:", " }}

-

{{ item.associated_file.address }}

+{% if item.associated_file.address %}

{{ item.associated_file.address }}

{% if item.associated_file.address_complement %}

{{ item.associated_file.address_complement }}

{%endif%} {% if item.associated_file.postal_code %}

{{ item.associated_file.postal_code }}

{%endif%} - +{%endif%} {% comment %}

{{ item.lambert_x }}

{{ item.lambert_y }}

-- cgit v1.2.3