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 | |
| parent | 512ed05903bdb9f57a94c69b19384036668d45cd (diff) | |
| download | Ishtar-e1753fd6d32500bb5c76a2902bec4bc8b09d24d8.tar.bz2 Ishtar-e1753fd6d32500bb5c76a2902bec4bc8b09d24d8.zip | |
Container: manage location and responsible
Diffstat (limited to 'archaeological_warehouse/templates')
| -rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_container.html | 4 | ||||
| -rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 7 |
2 files changed, 9 insertions, 2 deletions
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 @@ <ul class='form-flex'> {% field_li "Reference" item.reference %} {% field_li "Container type" item.container_type %} + {% field_li_detail "Responsible warehouse" item.responsible %} + {% field_li_detail "Location (warehouse)" item.location %} </ul> -{% field "Comment" item.comment "<pre>" "</pre>" %} {% field "Location" item.precise_location %} +{% field "Comment" item.comment "<pre>" "</pre>" %} {% if item.finds.count %} <h4>{% trans "Content" %}</h4> 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 %} |
