summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html16
1 files changed, 3 insertions, 13 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index a696bcf9f..2b2e868be 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -253,20 +253,10 @@
{% if display_warehouse_treatments %}
<div class="tab-pane fade" id="{{window_id}}-warehouse"
role="tabpanel" aria-labelledby="{{window_id}}-warehouse-tab">
- {% if item.container_ref %}
- <h3>{% trans "Warehouse - reference container"%}</h3>
+ {% if item.container %}
+ <h3>{% trans "Warehouse - container" %}</h3>
<div class='row'>
- {% field_flex_detail "Container" item.container_ref %}
- {% field_flex "Container ID" item.container_ref.cached_location %}
- {% field_flex_detail "Responsible warehouse" item.container_ref.responsible %}
- {% field_flex_detail "Location (warehouse)" item.container_ref.location %}
- {% field_flex "Precise localisation" item.container_ref.cached_division %}
- </div>
- {% endif %}
- {% if item.container and item.container_ref.pk != item.container.pk %}
- <h3>{% trans "Warehouse - current container"%}</h3>
- <div class='row'>
- {% field_flex_detail "Container" item.container %}
+ {% field_flex_detail "Container" item.container "large" %}
{% field_flex "Container ID" item.container.cached_location %}
{% field_flex_detail "Responsible warehouse" item.container.responsible %}
{% field_flex_detail "Location (warehouse)" item.container.location %}