diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-18 18:34:43 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-18 18:34:43 +0100 |
commit | f42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3 (patch) | |
tree | 617d32c1aaa8c85a4782aecfa64d075f598af0dc /archaeological_warehouse/templates/ishtar/sheet_warehouse.html | |
parent | f2274d391af31cd620465f4424e4510e075562cd (diff) | |
download | Ishtar-f42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3.tar.bz2 Ishtar-f42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3.zip |
Containers / Warehouse: actions, sheets and fixes.
Diffstat (limited to 'archaeological_warehouse/templates/ishtar/sheet_warehouse.html')
-rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html new file mode 100644 index 000000000..6304dc3a5 --- /dev/null +++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html @@ -0,0 +1,21 @@ +{% extends "ishtar/sheet.html" %} +{% load i18n window_header window_field window_tables %} + +{% block head_title %}{% trans "Warehouse" %}{% endblock %} + +{% block content %} +{% window_nav item window_id 'show-warehouse' '' '' '' previous next 1 %} + +<ul class='form-flex'> + {% field_li "Name" item.name %} + {% field_li "Warehouse type" item.warehouse_type %} + {% field_li "Person in charge" item.person_in_charge %} +</ul> +{% field "Comment" item.comment "<pre>" "</pre>" %} + +{% if item.containers.count %} +<h4>{% trans "Containers" %}</h4> +{% dynamic_table_document '' 'containers' 'location' item.pk 'TABLE_COLS' output 'large' %} +{% endif %} + +{% endblock %} |