summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates/ishtar/sheet_container.html
diff options
context:
space:
mode:
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
commitf42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3 (patch)
tree617d32c1aaa8c85a4782aecfa64d075f598af0dc /archaeological_warehouse/templates/ishtar/sheet_container.html
parentf2274d391af31cd620465f4424e4510e075562cd (diff)
downloadIshtar-f42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3.tar.bz2
Ishtar-f42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3.zip
Containers / Warehouse: actions, sheets and fixes.
Diffstat (limited to 'archaeological_warehouse/templates/ishtar/sheet_container.html')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_container.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html
new file mode 100644
index 000000000..fd3c6510a
--- /dev/null
+++ b/archaeological_warehouse/templates/ishtar/sheet_container.html
@@ -0,0 +1,21 @@
+{% extends "ishtar/sheet.html" %}
+{% load i18n window_header window_field window_tables %}
+
+{% block head_title %}{% trans "Container" %}{% endblock %}
+
+{% block content %}
+{% window_nav item window_id 'show-container' '' '' '' previous next 1 %}
+
+<ul class='form-flex'>
+ {% field_li "Reference" item.reference %}
+ {% field_li "Container type" item.container_type %}
+</ul>
+{% field "Comment" item.comment "<pre>" "</pre>" %}
+{% field "Location" item.precise_location %}
+
+{% if item.finds.count %}
+<h4>{% trans "Content" %}</h4>
+{% dynamic_table_document finds 'finds' 'container' item.pk 'TABLE_COLS' output 'large' %}
+{% endif %}
+
+{% endblock %}