diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-04 18:46:53 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:57 +0100 |
commit | 43e629c861fe5f73d4a0db94c9c49ac9592228c8 (patch) | |
tree | 11fe9759e1c6aa7897d36b0fd8c5afb72739e695 /archaeological_operations | |
parent | 42bcbf93171c8e42bb45f8c233898558b4010de9 (diff) | |
download | Ishtar-43e629c861fe5f73d4a0db94c9c49ac9592228c8.tar.bz2 Ishtar-43e629c861fe5f73d4a0db94c9c49ac9592228c8.zip |
🐛 fix operation sheet when specific permissions are set (refs #6104)
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 8613d2da6..a74c78ab1 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -455,7 +455,8 @@ {% if item.context_record_docs_q.count %} {% trans "Documents from associated context records" as cr_docs %} {% dynamic_table_document cr_docs 'documents' 'context_records__operation' item.pk '' output %} - {% endif %} + {% endif %}{% endif %} + {% if item.context_record_relations_q.count %} <h3>{% trans "Diagram of stratigraphic relations" %}</h3> @@ -478,7 +479,6 @@ role="tabpanel" aria-labelledby="{{window_id}}-finds-tab"> {% trans "Finds" as finds %} {% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record__operation' item.pk 'TABLE_COLS_FOR_OPE' output %} - {% endif %} {% if perm_documents and item.find_docs_q.count %} {% trans "Documents from associated finds" as finds_docs %} |