From 3b0d8214cb1c4a05a3a2de392e49181ffeaf2ff6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 25 Sep 2020 15:55:44 +0200 Subject: Containers: fix division default labels --- archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 6 +++--- .../templates/ishtar/wizard/wizard_warehouse_divisions.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'archaeological_warehouse/templates') 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 "
" "
" %} {% include "ishtar/blocks/sheet_json.html" %} @@ -136,7 +136,7 @@ - {% for location_type in item.location_types %} + {% for location_type in item.division_labels %} {% endfor %} @@ -167,7 +167,7 @@
{{location_type|title}}{% trans "Total" %}
- {% for location_type in item.location_types %} + {% for location_type in item.division_labels %} {% endfor %} 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 %}
- {% trans "Default division for this warehouse. Theses divisions are only used for imports and statistics." %}
+  {% trans "Default division for this warehouse. Theses divisions are only used to facilitate imports." %}
{% endblock %} -- cgit v1.2.3
{{location_type|title}}{% trans "Total" %}