diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-22 09:44:43 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-22 09:44:43 +0100 |
commit | 670d74c9506fc8e8d5aabc4a217ddbf386e291ec (patch) | |
tree | d1465c407123fbaa6d3601ba4822421e522c7640 /archaeological_warehouse/templates | |
parent | 1818eb426b2efe1fc169a861b79688a9992d549e (diff) | |
download | Ishtar-670d74c9506fc8e8d5aabc4a217ddbf386e291ec.tar.bz2 Ishtar-670d74c9506fc8e8d5aabc4a217ddbf386e291ec.zip |
Sheet container: table of find whom reference container is this one
Diffstat (limited to 'archaeological_warehouse/templates')
-rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_container.html | 5 |
1 files changed, 5 insertions, 0 deletions
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 %} +<h4>{% trans "Reference content" %}</h4> +{% dynamic_table_document finds 'finds' 'container_ref' item.pk 'TABLE_COLS' output 'large' %} +{% endif %} + {% endblock %} |