From 2799e242e5125d11b5e9ffa9d130e8a53b721d02 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 8 Oct 2018 11:42:16 +0200 Subject: Documents: only display item number when differs from one --- ishtar_common/templates/ishtar/sheet_document.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/sheet_document.html b/ishtar_common/templates/ishtar/sheet_document.html index 46b53cd26..af94f8fbe 100644 --- a/ishtar_common/templates/ishtar/sheet_document.html +++ b/ishtar_common/templates/ishtar/sheet_document.html @@ -31,7 +31,7 @@ {% field_flex "Scale" item.scale %} {% trans "Web link" as weblink_label %} {% field_flex_url weblink_label item.associated_url %} - {% if item.number != 1 %}{% field_flex "Item number" item.item_number %}{% endif %} + {% if item.item_number != 1 %}{% field_flex "Item number" item.item_number %}{% endif %} {% field_flex "Ref." item.reference %} {% field_flex "Internal ref." item.internal_reference %} {% field_flex "Creation date" item.creation_date %} -- cgit v1.2.3