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
commit2597642e86b26d127d740142ba4580247564be7c (patch)
tree319455e933c1270aba23df9b9c6eaa7155bdc4c8 /ishtar_common/templates
parent4670b412f55b70f35971e2bc407a9b5f75c3395a (diff)
downloadIshtar-2597642e86b26d127d740142ba4580247564be7c.tar.bz2
Ishtar-2597642e86b26d127d740142ba4580247564be7c.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"