From 670d74c9506fc8e8d5aabc4a217ddbf386e291ec Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 22 Jan 2019 09:44:43 +0100 Subject: Sheet container: table of find whom reference container is this one --- archaeological_warehouse/templates/ishtar/sheet_container.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'archaeological_warehouse') diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html index ff5aeb04b..262d7145b 100644 --- a/archaeological_warehouse/templates/ishtar/sheet_container.html +++ b/archaeological_warehouse/templates/ishtar/sheet_container.html @@ -41,4 +41,9 @@ {% dynamic_table_document finds 'finds' 'container' item.pk 'TABLE_COLS' output 'large' %} {% endif %} +{% if item.finds_ref.count %} +

{% trans "Reference content" %}

+{% dynamic_table_document finds 'finds' 'container_ref' item.pk 'TABLE_COLS' output 'large' %} +{% endif %} + {% endblock %} -- cgit v1.2.3