summaryrefslogtreecommitdiff
path: root/archaeological_operations
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_operations
parentd55a5ec58047dc53118dce1d3aecbeb398cf57de (diff)
downloadIshtar-26ba00071ad1eb8b5bd3479290b6ffe02101298d.tar.bz2
Ishtar-26ba00071ad1eb8b5bd3479290b6ffe02101298d.zip
🐛 Sheet: harmonize creation/modification section (refs #4808)
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_administrativeact.html8
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html8
2 files changed, 14 insertions, 2 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
index d952f66cb..61cc4a256 100644
--- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html
+++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
@@ -61,7 +61,6 @@
</dd>
</div>
{% endif %}
- {% field_flex_detail "Created by" item.history_creator.ishtaruser.person %}
{% comment %}{% if item.general_contractor.attached_to %}<p>
<label>{% trans "General contractor organisation"%}</label>
@@ -79,4 +78,11 @@
</div>
{% endif %}
+{% if not is_external %}
+<h3>{% trans "Sheet"%}</h3>
+<div class="row">
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
+</div>
+{% endif %}
+
{% endblock %}
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html
index 11717314b..6cc9a3454 100644
--- a/archaeological_operations/templates/ishtar/sheet_site.html
+++ b/archaeological_operations/templates/ishtar/sheet_site.html
@@ -46,7 +46,6 @@
{% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %}
{% field_flex_multiple "Collaborators" item.collaborators %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
- {% include "ishtar/blocks/sheet_creation_section.html" %}
</div>
{% if item.affmar_number or item.drassm_number or item.oceanographic_service_localisation or item.shipwreck_code or item.sinking_date or item.discovery_area or item.shipwreck_name %}
@@ -105,5 +104,12 @@
{% with geo_item=item %}{% include "ishtar/blocks/sheet_geographic.html" %}{% endwith %}
{% endif %}
+{% if not is_external %}
+<h3>{% trans "Sheet"%}</h3>
+<div class="row">
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
+</div>
+{% endif %}
+
{% endwith %} {% endwith %} {% endwith %}
{% endblock %}