summaryrefslogtreecommitdiff
path: root/archaeological_files/templates/ishtar/sheet_file.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_files/templates/ishtar/sheet_file.html')
-rw-r--r--archaeological_files/templates/ishtar/sheet_file.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html
index 587aa45ab..30a428262 100644
--- a/archaeological_files/templates/ishtar/sheet_file.html
+++ b/archaeological_files/templates/ishtar/sheet_file.html
@@ -42,9 +42,11 @@
{% include "ishtar/blocks/window_image.html" %}
<div class="card-body">
<div class="card-text">
- {% if item.complete_identifier %}<p class="window-refs"
+ {% if item.complete_identifier and item.complete_identifier != item.cached_label %}<p class="window-refs"
title="{% trans 'Complete identifier' %}">
<strong>{{ item.complete_identifier }}</strong></p>{% endif %}
+ {% if item.cached_label %}
+ <p class="window-refs"><strong>{{ item.cached_label }}</strong></p>{% endif %}
<p class='window-refs'>{{item.full_internal_ref|default:''}}</p>
<p class='window-refs'>{{item.internal_reference|default:''}}</p>
<p class='window-refs'>{{item.name|default:''}}</p>