diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-01-28 17:44:31 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:56 +0100 |
commit | fea0eb742dee14a3aed1dda6da7c786656c14fb3 (patch) | |
tree | c577add24d1d1abb748916ddbfd00eb0f5ec4aa7 | |
parent | cd3287aca17d519850b27440bf026b94e71f5b3b (diff) | |
download | Ishtar-fea0eb742dee14a3aed1dda6da7c786656c14fb3.tar.bz2 Ishtar-fea0eb742dee14a3aed1dda6da7c786656c14fb3.zip |
🐛 sheet treatment: fix reference display
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_treatment.html | 4 | ||||
-rw-r--r-- | 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 @@ <div class="card-text"> <p class="window-refs">{{ item.label|default:"" }}</p> - {% if item.other_reference %} - <p class="window-refs">{{ item.other_reference }}</p>{% endif %} + {% if item.reference %} + <p class="window-refs">{{ item.reference }}</p>{% endif %} <p class="window-refs">{{ item.year|unlocalize }} - {{ item.index|unlocalize }}</p> {% if item.external_id %} <p class="window-refs">{{ item.external_id }}</p>{% 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", |