summaryrefslogtreecommitdiff
path: root/archaeological_files/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-03-15 11:07:20 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-04-16 16:43:02 +0200
commit0ca0d6b0d92accdc492ef603925684f7c270ef41 (patch)
treeb3b8d3bb22405e7a90661bc59cc55e177b648c8d /archaeological_files/templates
parent69fa2915c1ea9e3624caa89f59c10b894b1c5770 (diff)
downloadIshtar-0ca0d6b0d92accdc492ef603925684f7c270ef41.tar.bz2
Ishtar-0ca0d6b0d92accdc492ef603925684f7c270ef41.zip
🐛 archaeological files - force cached label and complete ID regeneration (refs #5790)
Diffstat (limited to 'archaeological_files/templates')
-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>