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 +++++ 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 %} +

{% trans "Reference content" %}

+{% 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(): -- cgit v1.2.3