diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-04-06 12:31:38 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:20 +0100 |
commit | 33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9 (patch) | |
tree | 1ac684557b5b6d2b7457b80040f8955e0db19d07 /archaeological_finds/templates | |
parent | 2d7a40f22bc9da10515330becff08c589012c0ba (diff) | |
download | Ishtar-33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9.tar.bz2 Ishtar-33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9.zip |
New container localisation - adapt sheets, imports
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 16 |
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 %} |