diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-16 23:29:41 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-16 23:29:41 +0200 |
commit | 78cb0d4794a80c99e17f96a06e68951d5221d0f8 (patch) | |
tree | ceac818ab232d6fb74289ab31571de56086d7bb5 /archaeological_operations/templates | |
parent | c5bf89a4177c3f40a9b02e721bdcc5e85fc136bf (diff) | |
download | Ishtar-78cb0d4794a80c99e17f96a06e68951d5221d0f8.tar.bz2 Ishtar-78cb0d4794a80c99e17f96a06e68951d5221d0f8.zip |
List and export context record relations (refs #3329)
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 98a69a5f1..07f8d8ab0 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -113,6 +113,11 @@ {% dynamic_table_document '' 'context_records_for_ope' 'operation' item.pk 'TABLE_COLS_FOR_OPE' output %} {% endif %} +{% trans "Context record relations" as cr_rels %} +{% if item.context_record_relations_q.count %} +{% dynamic_table_document cr_rels 'context_records_relations' 'left_record__operation' item.pk '' output %} +{% endif %} + {% trans "Documents from associated context records" as cr_docs %} {% if item.context_record_docs_q.count %} {% dynamic_table_document cr_docs 'context_records_docs' 'context_record__operation' item.pk '' output %} |