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
commit2d7e9cd3d49e918f37a30352f35d1ad4c2ace769 (patch)
tree617d32c1aaa8c85a4782aecfa64d075f598af0dc /archaeological_warehouse/templates/ishtar/sheet_container.html
parentbd6026dfd15dc58958aff61ffac9ab08da0d49ee (diff)
downloadIshtar-2d7e9cd3d49e918f37a30352f35d1ad4c2ace769.tar.bz2
Ishtar-2d7e9cd3d49e918f37a30352f35d1ad4c2ace769.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 %}