diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-07-08 14:09:48 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-07-08 18:15:40 +0200 |
| commit | f2133b1363d3d275ce063c0cddebb3fb862e2637 (patch) | |
| tree | 0131f651e3a8bb5347eda18622daf75523f92c82 /archaeological_context_records/templates | |
| parent | 4869a23a5adeeba3160267537ce6acccdf1a3aae (diff) | |
| download | Ishtar-f2133b1363d3d275ce063c0cddebb3fb862e2637.tar.bz2 Ishtar-f2133b1363d3d275ce063c0cddebb3fb862e2637.zip | |
✨ Context records - identification: switch to multivalued
Diffstat (limited to 'archaeological_context_records/templates')
| -rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 71207acca..2229c06cf 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -25,7 +25,7 @@ {% with display_relations=item|safe_or:"right_relations.count|left_relations.count" %} {% with has_image=item|safe_or:"images.count" %} {% with has_cultural_attributions=item|safe_or:"cultural_attributions.count" %} -{% with display_interpretation=item.activity|or_:item.identification|or_:item.interpretation %} +{% with display_interpretation=item.activity|safe_or:"item.identifications.count"|or_:item.interpretation %} {% with display_datations=dating_list|or_:item.taq|or_:item.taq_estimated|or_:item.tpq|or_:item.tpq_estimated|or_:has_cultural_attributions %} {% with can_view_finds=permission_view_own_find|or_:permission_view_find %} {% with has_finds=item|safe_or:"base_finds.count" %} @@ -185,7 +185,7 @@ <h3>{% trans "Interpretation"%}</h3> <div class='row'> {% field_flex "Activity" item.activity %} - {% field_flex "Identification" item.identification %} + {% field_flex_multiple_obj "Identification" item 'identifications' %} {% field_flex_full "Interpretation" item.interpretation "<pre>" "</pre>" %} </div> </div> |
