summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-13 14:10:25 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-13 14:10:25 +0200
commit619c482c62044d8a00ec1c6a24548c5440c98396 (patch)
treed552bc37447d963cbfa22a1c5cb072a7f9bb55f4 /archaeological_context_records/templates
parentadf8899ecf6aaa9d210dca13b6cc1366eedd206a (diff)
downloadIshtar-619c482c62044d8a00ec1c6a24548c5440c98396.tar.bz2
Ishtar-619c482c62044d8a00ec1c6a24548c5440c98396.zip
Sheet: display documents tables
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index c2666d615..6137e6be8 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -158,23 +158,19 @@
</div>
{% endif %}
-{% comment %}
{% trans "Document from this context record" as cr_docs %}
-{% if item.source.count %}
-{% dynamic_table_document cr_docs 'context_records_docs' 'context_record' item.pk '' output %}
+{% if item.documents.count %}
+{% dynamic_table_document cr_docs 'documents' 'context_records' item.pk '' output %}
{% endif %}
-{% endcomment %}
{% trans "Finds" as finds %}
{% if item.base_finds.count %}
{% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record' item.pk 'TABLE_COLS_FOR_OPE' output %}
{% endif %}
-{% comment %}
{% 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' item.pk '' output %}
+{% dynamic_table_document finds_docs 'documents' 'finds__base_finds__context_record' item.pk '' output %}
{% endif %}
-{% endcomment %}
{% endblock %}