summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-20 11:55:30 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-20 11:55:30 +0100
commit4d561ca80583da6bb84d103ef0bc6d0712385e11 (patch)
tree089ab4b9971303c7e11d588a4de501271ed16d4f
parent47f4eaa7509693e0a64ad3ee69b7a312df541127 (diff)
downloadIshtar-4d561ca80583da6bb84d103ef0bc6d0712385e11.tar.bz2
Ishtar-4d561ca80583da6bb84d103ef0bc6d0712385e11.zip
Sheet find: fix material type history
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index e6856dd53..b4954b7e6 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -174,7 +174,8 @@
{% field_flex_full "Public description" item.public_description "<pre>" "</pre>" %}
{% field_flex "Is complete?" item.is_complete %}
{% with material=item.get_hierarchical_material_types %}{% if material %}
- {% field_flex "Material types" material %}
+ {% field_flex "Material types" material %}{% else %}
+ {% field_flex_multiple_obj "Material types" item 'material_types' %}
{% endif %}{% endwith %}
{% field_flex "Material type quality" item.material_type_quality %}
{% field_flex_full "Comment on the material" item.material_comment "<pre>" "</pre>" %}