summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-11-24 17:37:21 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commit4aa96a151c83e837f9a76983b2aef4a70941a517 (patch)
tree319455e933c1270aba23df9b9c6eaa7155bdc4c8 /ishtar_common/templates
parenta9e3eee6ac90e7811a629b46c14d498e74fe8738 (diff)
downloadIshtar-4aa96a151c83e837f9a76983b2aef4a70941a517.tar.bz2
Ishtar-4aa96a151c83e837f9a76983b2aef4a70941a517.zip
Document: display complete identifier on sheet and tables
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/sheet_document.html5
1 files changed, 4 insertions, 1 deletions
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 %}<strong>{% trans "Document" %}</strong> - {{item.title}}{% endblock %}
+{% block head_title %}<strong>{% trans "Document" %}</strong> {% if item.complete_identifier %} - {{item.complete_identifier}}{% endif %} - {{item.title}}{% endblock %}
{% block content %}
{% block window_nav %}
@@ -23,6 +23,9 @@
<h4 class="col-12">{% trans "Identification" %}</h4>
<div class="col-12 col-md-6 col-lg-3 flex-wrap">
+ {% if item.complete_identifier %}<p class="window-refs"
+ title="{% trans 'Complete identifier' %}">
+ <strong>{{ item.complete_identifier|default:"" }}</strong></p>{% endif %}
<p class="window-refs"
title="{% trans 'Reference' %}">{{ item.reference|default:"" }}</p>
<p class="window-refs"