diff options
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 |
commit | e1753fd6d32500bb5c76a2902bec4bc8b09d24d8 (patch) | |
tree | 7fdf88c5a49a6b8097e37a574f8d7e44ae4301a9 /archaeological_warehouse/templates/ishtar/sheet_warehouse.html | |
parent | 512ed05903bdb9f57a94c69b19384036668d45cd (diff) | |
download | Ishtar-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.html | 7 |
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 %} |