From 2597642e86b26d127d740142ba4580247564be7c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 24 Nov 2020 17:37:21 +0100 Subject: Document: display complete identifier on sheet and tables --- ishtar_common/templates/ishtar/sheet_document.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/sheet_document.html b/ishtar_common/templates/ishtar/sheet_document.html index 5aff68107..e01d0d9fb 100644 --- a/ishtar_common/templates/ishtar/sheet_document.html +++ b/ishtar_common/templates/ishtar/sheet_document.html @@ -1,7 +1,7 @@ {% extends "ishtar/sheet.html" %} {% load i18n window_field window_header link_to_window %} -{% block head_title %}{% trans "Document" %} - {{item.title}}{% endblock %} +{% block head_title %}{% trans "Document" %} {% if item.complete_identifier %} - {{item.complete_identifier}}{% endif %} - {{item.title}}{% endblock %} {% block content %} {% block window_nav %} @@ -23,6 +23,9 @@

{% trans "Identification" %}

+ {% if item.complete_identifier %}

+ {{ item.complete_identifier|default:"" }}

{% endif %}

{{ item.reference|default:"" }}