diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-06-23 14:21:39 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:20 +0100 |
commit | 802603ace7dc82084abcb412499b3a194ecab404 (patch) | |
tree | 01906dd3c678fecf355bf79fdb872599ebb1baba /archaeological_warehouse/templates | |
parent | 907e82a50969a4fe6cfcbf9538792f2c754898fa (diff) | |
download | Ishtar-802603ace7dc82084abcb412499b3a194ecab404.tar.bz2 Ishtar-802603ace7dc82084abcb412499b3a194ecab404.zip |
Container: improve sheet layout
Diffstat (limited to 'archaeological_warehouse/templates')
-rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_container.html | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html index 60f49b7ae..c9cbc3e0a 100644 --- a/archaeological_warehouse/templates/ishtar/sheet_container.html +++ b/archaeological_warehouse/templates/ishtar/sheet_container.html @@ -2,11 +2,7 @@ {% load i18n window_header window_field window_tables link_to_window %} {% block head_title %}<strong>{% trans "Container" %}</strong> - -{% if item.cached_division %} -{{item.cached_division}} -{% else %} -{{ item.container_type|default:"" }} {{ item.reference|default:"" }} {% endif %} -- {{ item.location.name|default:"" }} +{{ item.reference|default:"" }} ({{ item.container_type|default:"" }}) - {{item.location}} {% endblock %} {% block toolbar %} @@ -35,9 +31,7 @@ {% else %} <div class="float-left row col-6 col-md-8"> {% endif %} - {% field_flex_detail "Warehouse" item.location %} - {% if item.parent %} - <dl class="col-12 col-md-9 flex-wrap"> + <dl class="col-12 flex-wrap"> <dt>{% trans "Location" %}</dt> <dd> <nav aria-label="breadcrumb"> @@ -51,7 +45,6 @@ </nav> </dd> </dl> - {% endif %} {% include "ishtar/blocks/sheet_creation_section.html" %} {% field_flex_full "Comment" item.comment "<pre>" "</pre>" %} {% include "ishtar/blocks/sheet_json.html" %} |