From e1753fd6d32500bb5c76a2902bec4bc8b09d24d8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 9 Jan 2017 23:20:50 +0100 Subject: Container: manage location and responsible --- archaeological_warehouse/templates/ishtar/sheet_container.html | 4 +++- archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'archaeological_warehouse/templates') diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html index fd3c6510a..4a7b2f0b9 100644 --- a/archaeological_warehouse/templates/ishtar/sheet_container.html +++ b/archaeological_warehouse/templates/ishtar/sheet_container.html @@ -9,9 +9,11 @@ -{% field "Comment" item.comment "
" "
" %} {% field "Location" item.precise_location %} +{% field "Comment" item.comment "
" "
" %} {% if item.finds.count %}

{% trans "Content" %}

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 %}

{% trans "Containers" %}

-{% 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 %} +

{% trans "Attached containers" %}

+{% dynamic_table_document '' 'containers' 'responsible' item.pk 'TABLE_COLS' output %} {% endif %} {% endblock %} -- cgit v1.2.3