summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/sheet_document.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-08 11:38:25 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-24 12:06:09 +0200
commitbd3d226928365674de631946fb62850c9866bb14 (patch)
tree59b6044371fee8a74cab3597a9e8aea5ca12c352 /ishtar_common/templates/ishtar/sheet_document.html
parentf9debe827556003e37493290b1e29fb5b9741e88 (diff)
downloadIshtar-bd3d226928365674de631946fb62850c9866bb14.tar.bz2
Ishtar-bd3d226928365674de631946fb62850c9866bb14.zip
Images: only display item number when differs from one
Diffstat (limited to 'ishtar_common/templates/ishtar/sheet_document.html')
-rw-r--r--ishtar_common/templates/ishtar/sheet_document.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/sheet_document.html b/ishtar_common/templates/ishtar/sheet_document.html
index 3b178c29e..46b53cd26 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 %}
- {% field_flex "Item number" item.item_number %}
+ {% if 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 %}