From 581e10af171e7aeada05deec536b405950de0d5d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 15 Sep 2019 20:23:40 +0200 Subject: Fix sheet creation section when there is no last_edition_date --- ishtar_common/templates/ishtar/blocks/sheet_creation_section.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_creation_section.html b/ishtar_common/templates/ishtar/blocks/sheet_creation_section.html index d3a49ecc9..6d0baa2de 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_creation_section.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_creation_section.html @@ -8,7 +8,7 @@ {% endif %} -{% if item.history_creation_date != item.last_edition_date %} +{% if not item.last_edition_date or item.history_creation_date != item.last_edition_date %}
{% trans "Modification" context "Sheet" %}{{item.history_modifier.ishtaruser.person|link_to_window:request}}
-- cgit v1.2.3