summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-07 16:53:06 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-07 16:53:06 +0200
commit26ba00071ad1eb8b5bd3479290b6ffe02101298d (patch)
tree930ccda4ea1557bef80520ce8af07455ecf4f422 /archaeological_warehouse/templates
parentd55a5ec58047dc53118dce1d3aecbeb398cf57de (diff)
downloadIshtar-26ba00071ad1eb8b5bd3479290b6ffe02101298d.tar.bz2
Ishtar-26ba00071ad1eb8b5bd3479290b6ffe02101298d.zip
🐛 Sheet: harmonize creation/modification section (refs #4808)
Diffstat (limited to 'archaeological_warehouse/templates')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_container.html8
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_warehouse.html8
2 files changed, 14 insertions, 2 deletions
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 "<pre>" "</pre>" %}
</div>
</div>
@@ -172,6 +171,13 @@
{% endwith %}
</div>
{% endif %}
+
+ {% if not is_external %}
+ <h3>{% trans "Sheet"%}</h3>
+ <div class="row">
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
+ </div>
+ {% endif %}
</div>
<div class="tab-pane fade" id="{{window_id}}-content"
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
index 2f953478e..d82b0ee6c 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
@@ -107,7 +107,6 @@
{% trans "Default divisions (imports)" as def_div_label %}
{% field_flex def_div_label item.default_location_types|join:", " %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
- {% include "ishtar/blocks/sheet_creation_section.html" %}
</div>
{% include "ishtar/blocks/sheet_json.html" %}
@@ -126,6 +125,13 @@
{% field_flex _("Mobile phone") item.mobile_phone %}
</div>
{% endif %}
+
+ {% if not is_external %}
+ <h3>{% trans "Sheet"%}</h3>
+ <div class="row">
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
+ </div>
+ {% endif %}
</div>
<div class="tab-pane fade" id="{{window_id}}-content"