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 | |
parent | 1818eb426b2efe1fc169a861b79688a9992d549e (diff) | |
download | Ishtar-670d74c9506fc8e8d5aabc4a217ddbf386e291ec.tar.bz2 Ishtar-670d74c9506fc8e8d5aabc4a217ddbf386e291ec.zip |
Sheet container: table of find whom reference container is this one
-rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_container.html | 5 | ||||
-rw-r--r-- | version.py | 4 |
2 files changed, 7 insertions, 2 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 %} diff --git a/version.py b/version.py index 4be041249..1861b483c 100644 --- a/version.py +++ b/version.py @@ -1,5 +1,5 @@ -# 2.1.dev.21 -VERSION = (2, 1, 'dev', 21) +# 2.1.dev.22 +VERSION = (2, 1, 'dev', 22) def get_version(): |