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 | 2d7e9cd3d49e918f37a30352f35d1ad4c2ace769 (patch) | |
| tree | 617d32c1aaa8c85a4782aecfa64d075f598af0dc /archaeological_warehouse/templates/ishtar/sheet_warehouse.html | |
| parent | bd6026dfd15dc58958aff61ffac9ab08da0d49ee (diff) | |
| download | Ishtar-2d7e9cd3d49e918f37a30352f35d1ad4c2ace769.tar.bz2 Ishtar-2d7e9cd3d49e918f37a30352f35d1ad4c2ace769.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 %} |
