diff options
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_find_treatments.html')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find_treatments.html | 61 |
1 files changed, 2 insertions, 59 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find_treatments.html b/archaeological_finds/templates/ishtar/sheet_find_treatments.html index 961134691..b024f3f47 100644 --- a/archaeological_finds/templates/ishtar/sheet_find_treatments.html +++ b/archaeological_finds/templates/ishtar/sheet_find_treatments.html @@ -29,64 +29,8 @@ {% if can_view_container %} <h3>{% trans "Warehouse - container" %}</h3> <div class='row'> - {% if item.container_ref != item.container and item.container_ref %} - <dl class="col-12 flex-wrap"> - <dt>{% trans "Reference container" %}</dt> - <dd> - <nav aria-label="breadcrumb"> - <ol class="breadcrumb"> - {% if not is_external %} - {% for loca in item.container_ref.get_localisations %} - <li class="breadcrumb-item"> - {{loca.short_label}} {{loca|simple_link_to_window}} - </li> - {% endfor %} - <li class="breadcrumb-item"> - {{item.container_ref.short_label}} {{item.container_ref|simple_link_to_window}} - </li> - {% else %} - {{item.container_ref}} - {% endif %} - </ol> - </nav> - </dd> - </dl> - {% endif %} - {% if item.container %} - <dl class="col-12 flex-wrap"> - <dt> - {% if item.container_ref != item.container %} - {% trans "Current container" %}{% else %} - {% trans "Reference container / current container" %} - {% endif %} - </dt> - <dd> - <nav aria-label="breadcrumb"> - <ol class="breadcrumb"> - {% if not is_external %} - {% for loca in item.container.get_localisations %} - <li class="breadcrumb-item"> - {{loca.short_label}} {{loca|simple_link_to_window}} - </li> - {% endfor %} - <li class="breadcrumb-item"> - {{item.container.short_label}} {{item.container|simple_link_to_window}} - </li> - {% else %} - {% for loca in item.container.localisation_list %} - <li class="breadcrumb-item"> - {{loca}} - </li> - {% endfor %} - <li class="breadcrumb-item"> - {{item.container.short_label}} - </li> - {% endif %} - </ol> - </nav> - </dd> - </dl> - {% if item.container.index %} + {% include "ishtar/sheet_find_containers.html" %} + {% if item.container and item.container.index %} <div class='row'> <dl class="col-12 flex-wrap"> <dt>{% trans "Index" %}</dt> @@ -96,7 +40,6 @@ </dl> </div> {% endif %} - {% endif %} </div> {% else %} <div class="alert alert-info" role="alert"> |
