diff options
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_site.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html index a293cb10b..7b88ff630 100644 --- a/archaeological_operations/templates/ishtar/sheet_site.html +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -81,7 +81,16 @@ {% dynamic_table_document operations 'operations' 'archaeological_sites' item.pk '' output %} {% endif %} +{% if item.finds.count %} {% trans "Finds" as finds %} {% dynamic_table_document finds 'finds' 'base_finds__context_record__archaeological_site' item.pk '' output %} +{% endif %} + +{% trans "Documents" as docs %} +{% if permission_view_own_document or permission_view_document %} +{% if item.documents.count %} +{% dynamic_table_document docs 'documents' 'sites' item.pk '' output %} +{% endif %} +{% endif %} {% endblock %} |