From 6b51ad99e8787d33fba8d22f32517ec8be8414db Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 12 Feb 2021 11:28:20 +0100 Subject: Improve find sheet / search --- .../templates/ishtar/sheet_find.html | 49 +++++++++++++++++++--- 1 file changed, 43 insertions(+), 6 deletions(-) (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 2a1cf595a..44a463fe9 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -266,12 +266,49 @@ {% if item.container or item.container_ref %}

{% trans "Warehouse - container" %}

- {% field_flex_detail "Container" item.container "large" %} - {% field_flex_detail "Reference container" item.container_ref "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 %} - {% field_flex "Precise localisation" item.container.cached_division %} + {% if item.container_ref != item.container and item.container_ref %} +
+
{% trans "Reference container" %}
+
+ +
+
+ {% endif %} + {% if item.container %} +
+
+ {% if item.container_ref != item.container %} + {% trans "Current container" %}{% else %} + {% trans "Reference container / current container" %} + {% endif %} +
+
+ +
+
+ {% endif %}
{% endif %} {% if item.upstream_treatment or item.downstream_treatment or non_modif_treatments_count %} -- cgit v1.2.3