From 7014a6989dfa21c5f7c4604a0e9c79a3bf355820 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 2 Dec 2020 12:12:02 +0100 Subject: Sheet: complete identifier --- archaeological_finds/templates/ishtar/sheet_find.html | 5 ++++- archaeological_finds/templates/ishtar/sheet_treatment.html | 4 ++-- archaeological_finds/templates/ishtar/sheet_treatmentfile.html | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'archaeological_finds') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 50a21402b..163946fae 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -101,7 +101,7 @@ - {{base_find.short_id}} + {% if base_find.complete_identifier %}{{ base_find.complete_identifier }}{% else %}{{base_find.short_id}}{% endif %} {% endfor %} @@ -126,6 +126,9 @@
{% include "ishtar/blocks/sheet_external_id.html" %} + {% if item.complete_identifier %}

+ {{ item.complete_identifier }}

{% endif %}
diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html index e6bd83aab..c82ba53f5 100644 --- a/archaeological_finds/templates/ishtar/sheet_treatment.html +++ b/archaeological_finds/templates/ishtar/sheet_treatment.html @@ -52,7 +52,7 @@
{% include "ishtar/blocks/window_image.html" %}
-

+

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

{% if item.other_reference %}

{{ item.other_reference }}

{% endif %} @@ -64,7 +64,7 @@ {% else %}

{% trans "Active" context "Treatment" %}

{% endif %} -

+
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html index 32b79a9fe..0c036978f 100644 --- a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html +++ b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html @@ -13,7 +13,7 @@
-

+

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

{% if item.internal_reference %}

{{ item.internal_reference }}

{% endif %} @@ -25,7 +25,7 @@ {% else %}

{% trans "Active" context "Treatment request" %}

{% endif %} -

+
-- cgit v1.2.3