summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-09-25 15:55:44 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commit3b0d8214cb1c4a05a3a2de392e49181ffeaf2ff6 (patch)
treea4a83fe121ae05d495c7a04067f3f59575331196 /archaeological_warehouse/templates
parentd2b55c340eabed840693326417821f280e1ae59d (diff)
downloadIshtar-3b0d8214cb1c4a05a3a2de392e49181ffeaf2ff6.tar.bz2
Ishtar-3b0d8214cb1c4a05a3a2de392e49181ffeaf2ff6.zip
Containers: fix division default labels
Diffstat (limited to 'archaeological_warehouse/templates')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_warehouse.html6
-rw-r--r--archaeological_warehouse/templates/ishtar/wizard/wizard_warehouse_divisions.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
index b6f93cc57..aec248b07 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
@@ -64,7 +64,7 @@
{% field_flex_detail "Person in charge" item.person_in_charge %}
{% field_flex_detail "Organization" item.organization %}
{% trans "Default divisions" as def_div_label %}
- {% field_flex def_div_label item.location_types|join:", " %}
+ {% field_flex def_div_label item.default_location_types|join:", " %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
{% include "ishtar/blocks/sheet_json.html" %}
</div>
@@ -136,7 +136,7 @@
<table class='table table-striped datatables'
id="{{window_id}}-find-by-loca-{{forloop.counter}}">
<thead>
- <tr>{% for location_type in item.location_types %}
+ <tr>{% for location_type in item.division_labels %}
<th class="text-center">{{location_type|title}}</th>{% endfor %}
<th class="text-center">{% trans "Total" %}</th>
</tr>
@@ -167,7 +167,7 @@
<table class='table table-striped datatables'
id="{{window_id}}-container-by-loca-{{forloop.counter}}">
<thead>
- <tr>{% for location_type in item.location_types %}
+ <tr>{% for location_type in item.division_labels %}
<th class="text-center">{{location_type|title}}</th>{% endfor %}
<th class="text-center">{% trans "Total" %}</th>
</tr>
diff --git a/archaeological_warehouse/templates/ishtar/wizard/wizard_warehouse_divisions.html b/archaeological_warehouse/templates/ishtar/wizard/wizard_warehouse_divisions.html
index 2b11e9235..9f1e29708 100644
--- a/archaeological_warehouse/templates/ishtar/wizard/wizard_warehouse_divisions.html
+++ b/archaeological_warehouse/templates/ishtar/wizard/wizard_warehouse_divisions.html
@@ -3,6 +3,6 @@
{% block form_head %}
<div class="alert alert-info">
<i class="fa fa-exclamation-triangle"></i>
- {% trans "Default division for this warehouse. Theses divisions are only used for imports and statistics." %}<br/>
+ &nbsp;{% trans "Default division for this warehouse. Theses divisions are only used to facilitate imports." %}<br/>
</div>
{% endblock %}