summaryrefslogtreecommitdiff
path: root/ishtar/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-07-08 00:56:55 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-07-08 00:56:55 +0200
commit982b4c291a88fcab97b468d57c81e7099b225296 (patch)
treef7b0823f41f8ffbed93e018bda8526c0f7b34283 /ishtar/templates
parent845ea77ec43d1eff4d2b11df454f5f895832d4b7 (diff)
downloadIshtar-982b4c291a88fcab97b468d57c81e7099b225296.tar.bz2
Ishtar-982b4c291a88fcab97b468d57c81e7099b225296.zip
Add Open/Close criteria for Operations (refs #429)
Diffstat (limited to 'ishtar/templates')
-rw-r--r--ishtar/templates/sheet_operation.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar/templates/sheet_operation.html b/ishtar/templates/sheet_operation.html
index 1b6755385..0005ca82c 100644
--- a/ishtar/templates/sheet_operation.html
+++ b/ishtar/templates/sheet_operation.html
@@ -13,8 +13,8 @@
<p><label>{%trans "Edition date:"%}</label> <span class='value'>{{ item.history.all.0.history_date }}</span></p> <!-- date = now -->
-<p><label>{%trans "Begining date:"%}</label> <span class='value'>{{ item.start_date }}</span></p>
-<p><label>{%trans "Field work end date:"%}</label> <span class='value'>{{ item.end_date|default:"-" }}</span></p>
+{% if item.start_date %}<p><label>{%trans "Begining date:"%}</label> <span class='value'>{{ item.start_date }}</span></p>{%endif%}
+{% if item.end_date %}<p><label>{%trans "Field work end date:"%}</label> <span class='value'>{{ item.end_date|default:"-" }}</span></p>{%endif%}
<p><label>{%trans "Head scientist:"%}</label> <span class='value'>{{ item.in_charge.full_label }}</span></p>
<p><label>{%trans "State:"%}</label> <span class='value'>{% if item.is_active %}{%trans "Active file"%}</span></p>