diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-13 23:25:18 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-13 23:28:13 +0100 |
commit | cd9ce5447c7e0ba9c15b6711e29b1045101bd2b7 (patch) | |
tree | d292159ee07f6f6f52eee9867ff97abd0d601c95 /archaeological_operations/templates | |
parent | c85e2d16a10410d1f57b02365d164f4615b7f9fe (diff) | |
download | Ishtar-cd9ce5447c7e0ba9c15b6711e29b1045101bd2b7.tar.bz2 Ishtar-cd9ce5447c7e0ba9c15b6711e29b1045101bd2b7.zip |
Better display of sheet sources (refs #3065)
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 14210046b..d1cd1578c 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -145,21 +145,19 @@ {% dynamic_table_document context_records 'context_records_for_ope' 'operation' item.pk 'TABLE_COLS_FOR_OPE' output %} {% endif %} -{% comment %} {% 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 %} {% endif %} -{% endcomment %} {% trans "Finds" as finds %} {% if item.finds %} {% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record__operation' item.pk 'TABLE_COLS_FOR_OPE' output %} {% endif %} -{% comment %} -{% trans "Documents from associated finds" as find_docs %} -{% if item.find_docs_q.count %} {% table_document find_docs item.find_docs_q.all %}{% endif %} -{% endcomment %} +{% trans "Documents from associated finds" as finds_docs %} +{% if item.find_docs_q.count %} +{% dynamic_table_document finds_docs 'finds_docs' 'find__base_finds__context_record__operation' item.pk '' output %} +{% endif %} {% endblock %} |