From d0e31acb2cfb5c7300d3f8b833219b756577d73b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 10 Apr 2011 12:28:42 +0200 Subject: Better history management: don't save identical version of the history (refs #349) --- ishtar/templates/sheet_file.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ishtar/templates/sheet_file.html') diff --git a/ishtar/templates/sheet_file.html b/ishtar/templates/sheet_file.html index b161a8e22..bf74490d5 100644 --- a/ishtar/templates/sheet_file.html +++ b/ishtar/templates/sheet_file.html @@ -6,8 +6,9 @@ {%if previous%} {%trans "Previous version"%} ({{previous}}) {% endif %} +{% if previous and next %} - {% endif %} {%if next%} - - {%trans "Next version"%} ({{next}}) +{%trans "Next version"%} ({{next}}) {% endif %} {% endif %} @@ -18,7 +19,7 @@

{{ item.internal_reference }}

-

{{ item.history.all.0.history_date }}

+

{{ item.history_date }}

{% if item.reception_date %}

{{ item.reception_date }}

{% endif %}

{{ item.creation_date }}

{% comment %} -- cgit v1.2.3