summaryrefslogtreecommitdiff
path: root/archaeological_files
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_files
parentd55a5ec58047dc53118dce1d3aecbeb398cf57de (diff)
downloadIshtar-26ba00071ad1eb8b5bd3479290b6ffe02101298d.tar.bz2
Ishtar-26ba00071ad1eb8b5bd3479290b6ffe02101298d.zip
🐛 Sheet: harmonize creation/modification section (refs #4808)
Diffstat (limited to 'archaeological_files')
-rw-r--r--archaeological_files/templates/ishtar/sheet_file.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html
index b2a1a71fc..e0f6c9d2d 100644
--- a/archaeological_files/templates/ishtar/sheet_file.html
+++ b/archaeological_files/templates/ishtar/sheet_file.html
@@ -63,7 +63,6 @@
{% field_flex _("Creation date") item.creation_date|date:"DATE_FORMAT" %}
{% field_flex "Reception date" item.reception_date|date:"DATE_FORMAT" %}
{% field_flex _("Instruction deadline") item.instruction_deadline|date:"DATE_FORMAT" %}
- {% include "ishtar/blocks/sheet_creation_section.html" %}
{% field_flex_detail _("File managed by") item.in_charge %}
<dl class="col-12 col-md-6 col-lg-3 flex-wrap">
<dt>{%trans "State of the file"%}</dt>
@@ -237,6 +236,13 @@
{% endif %}
{% endif %}
+ {% if not is_external %}
+ <h3>{% trans "Sheet"%}</h3>
+ <div class="row">
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
+ </div>
+ {% endif %}
+
</div>{% if has_costs %}
<div class="tab-pane fade show active" id="{{window_id}}-costs"
role="tabpanel" aria-labelledby="{{window_id}}-costs-tab">