summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-04-15 13:17:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commit582be0e5c7e43674b3dee79e3838f650f87893b8 (patch)
tree128f885d5edef830d669466dccc3f313482aaa2e /archaeological_warehouse/templates/ishtar/sheet_warehouse.html
parent3bba23e35348744b58809a2068d6a8536b6c02e1 (diff)
downloadIshtar-582be0e5c7e43674b3dee79e3838f650f87893b8.tar.bz2
Ishtar-582be0e5c7e43674b3dee79e3838f650f87893b8.zip
Fix warehouse division forms
Diffstat (limited to 'archaeological_warehouse/templates/ishtar/sheet_warehouse.html')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_warehouse.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
index 30d48d6bd..feb8b786a 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
@@ -3,7 +3,7 @@
{% block head_title %}<strong>{% trans "Warehouse" %}</strong> - {{item.name}} ({{item.warehouse_type}}){% endblock %}
{% block toolbar %}
-{% window_nav item window_id 'show-warehouse' 'warehouse_modify' '' '' previous next 1 %}
+{% window_nav item window_id 'show-warehouse' 'warehouse_modify' 'show-historized-warehouse' 'revert-warehouse' previous next 1 %}
{% endblock %}
{% block content %}
@@ -32,7 +32,8 @@
{% include "ishtar/blocks/sheet_creation_section.html" %}
{% field_flex_detail "Person in charge" item.person_in_charge %}
{% field_flex_detail "Organization" item.organization %}
- {% field_flex "Divisions" item.location_types|join:", " %}
+ {% trans "Default divisions" as def_div_label %}
+ {% field_flex def_div_label item.location_types|join:", " %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
{% include "ishtar/blocks/sheet_json.html" %}
</div>
@@ -57,10 +58,6 @@
{% dynamic_table_document '' 'containers' 'location_id' item.pk 'TABLE_COLS' output %}
{% endif %}
-{% if item.owned_containers.count %}
-<h4>{% trans "Attached containers" %}</h4>
-{% dynamic_table_document '' 'containers' 'responsible_id' item.pk 'TABLE_COLS' output %}
-{% endif %}
<h3>{% trans "Statistics" %}</h3>
<small class="centered"><em>{% trans "These numbers are updated hourly" %}</em></small>