diff options
-rw-r--r-- | archaeological_files/templates/ishtar/sheet_file.html | 2 | ||||
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html index 28f4892d1..c29a9ebc1 100644 --- a/archaeological_files/templates/ishtar/sheet_file.html +++ b/archaeological_files/templates/ishtar/sheet_file.html @@ -258,7 +258,7 @@ {% endif %} </div>{% if has_costs %} - <div class="tab-pane fade show active" id="{{window_id}}-costs" + <div class="tab-pane fade show" id="{{window_id}}-costs" role="tabpanel" aria-labelledby="{{window_id}}-costs-tab"> <div class="row"> {% field_flex "Intervention period" item.intervention_period %} 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 %} |