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_files/templates/ishtar/sheet_file.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archaeological_files') diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html index 7f45777a0..7d708c23f 100644 --- a/archaeological_files/templates/ishtar/sheet_file.html +++ b/archaeological_files/templates/ishtar/sheet_file.html @@ -16,7 +16,7 @@
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}

{% trans "General"%}

{{ item.year }}

-

{{ item.numeric_reference }}

+{% if item.numeric_reference %}

{{ item.numeric_reference }}

{% endif %} {% if item.name %}

{{ item.name }}

{% endif %} @@ -42,12 +42,12 @@

{% trans "Localisation"%}

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

- +{% if item.address %}

{{ item.address }}

{% if item.address_complement %}

{{ item.address_complement }}

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

{{ item.postal_code }}

{%endif%} - -

{% if item.total_surface %} {{ item.total_surface }} m2 ({{ item.total_surface_ha }} ha){%endif%}

+{% endif %} +{% if item.total_surface %}

{{ item.total_surface }} m2 ({{ item.total_surface_ha }} ha)

{%endif%} -- cgit v1.2.3