From 26ba00071ad1eb8b5bd3479290b6ffe02101298d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 7 Jun 2024 16:53:06 +0200 Subject: 🐛 Sheet: harmonize creation/modification section (refs #4808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_warehouse/templates/ishtar/sheet_container.html | 8 +++++++- archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'archaeological_warehouse/templates') diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html index ff0cd0de7..a8e2ab13e 100644 --- a/archaeological_warehouse/templates/ishtar/sheet_container.html +++ b/archaeological_warehouse/templates/ishtar/sheet_container.html @@ -145,7 +145,6 @@ {% field_flex calculated_weight_kg_trans item.calculated_weight_kg|floatformat:"-3" %} {% endif %} {% endif %}{% endwith %} - {% include "ishtar/blocks/sheet_creation_section.html" %} {% field_flex_full "Comment" item.comment "
" "
" %} @@ -172,6 +171,13 @@ {% endwith %} {% endif %} + + {% if not is_external %} +

{% trans "Sheet"%}

+
+ {% include "ishtar/blocks/sheet_creation_section.html" %} +
+ {% endif %}
" "" %} - {% include "ishtar/blocks/sheet_creation_section.html" %}
{% include "ishtar/blocks/sheet_json.html" %} @@ -126,6 +125,13 @@ {% field_flex _("Mobile phone") item.mobile_phone %} {% endif %} + + {% if not is_external %} +

{% trans "Sheet"%}

+
+ {% include "ishtar/blocks/sheet_creation_section.html" %} +
+ {% endif %}