summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-01-21 17:50:51 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:23 +0100
commit8d7ed2a8208a1d3422e4827a35fa7d6cb7f59cee (patch)
treee86de03a208f0583ed57159e4fe12ecf264efea4 /archaeological_warehouse/templates
parente4782f904c34e78e551093010d062e19a92d4833 (diff)
downloadIshtar-8d7ed2a8208a1d3422e4827a35fa7d6cb7f59cee.tar.bz2
Ishtar-8d7ed2a8208a1d3422e4827a35fa7d6cb7f59cee.zip
Fix migration of new containers - add collection field
Diffstat (limited to 'archaeological_warehouse/templates')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_container.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html
index 6357c8be4..0d36c253e 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_container.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_container.html
@@ -107,6 +107,9 @@
<dt>{% trans "Number of owned finds" %}</dt>
<dd>{{item.number_of_finds}}</dd>
</dl>
+ {% if item.collection != item.location %}
+ {% field_flex_detail "Collection" item.collection %}
+ {% endif %}
{% include "ishtar/blocks/sheet_creation_section.html" %}
{% field_flex "Old reference" item.old_reference %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}