From fea0eb742dee14a3aed1dda6da7c786656c14fb3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 28 Jan 2025 17:44:31 +0100 Subject: 🐛 sheet treatment: fix reference display MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/templates/ishtar/sheet_treatment.html | 4 ++-- archaeological_finds/wizards.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html index 0a23e551a..ac11d9b70 100644 --- a/archaeological_finds/templates/ishtar/sheet_treatment.html +++ b/archaeological_finds/templates/ishtar/sheet_treatment.html @@ -61,8 +61,8 @@

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

- {% if item.other_reference %} -

{{ item.other_reference }}

{% endif %} + {% if item.reference %} +

{{ item.reference }}

{% endif %}

{{ item.year|unlocalize }} - {{ item.index|unlocalize }}

{% if item.external_id %}

{{ item.external_id }}

{% endif %} diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index dd2e65ff8..87b814ba4 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -477,7 +477,7 @@ class TreatmentDeletionWizard(DeletionWizard): wizard_confirm = "ishtar/wizard/wizard_treatement_deletion.html" fields = [ "label", - "other_reference", + "reference", "year", "index", "treatment_types", -- cgit v1.2.3