summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-09 23:20:50 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-09 23:20:50 +0100
commite1753fd6d32500bb5c76a2902bec4bc8b09d24d8 (patch)
tree7fdf88c5a49a6b8097e37a574f8d7e44ae4301a9 /archaeological_warehouse/templates/ishtar/sheet_warehouse.html
parent512ed05903bdb9f57a94c69b19384036668d45cd (diff)
downloadIshtar-e1753fd6d32500bb5c76a2902bec4bc8b09d24d8.tar.bz2
Ishtar-e1753fd6d32500bb5c76a2902bec4bc8b09d24d8.zip
Container: manage location and responsible
Diffstat (limited to 'archaeological_warehouse/templates/ishtar/sheet_warehouse.html')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_warehouse.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
index 6304dc3a5..9fd022281 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
@@ -15,7 +15,12 @@
{% if item.containers.count %}
<h4>{% trans "Containers" %}</h4>
-{% dynamic_table_document '' 'containers' 'location' item.pk 'TABLE_COLS' output 'large' %}
+{% dynamic_table_document '' 'containers' 'location' item.pk 'TABLE_COLS' output %}
+{% endif %}
+
+{% if item.owned_containers.count %}
+<h4>{% trans "Attached containers" %}</h4>
+{% dynamic_table_document '' 'containers' 'responsible' item.pk 'TABLE_COLS' output %}
{% endif %}
{% endblock %}