summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/templates/ishtar/sheet_warehouse.html')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_warehouse.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
index 1307425ff..dcaa12215 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
@@ -96,6 +96,24 @@
{% trans "No container inside this warehouse" %}
</div>
{% endif %}
+ {% if item.number_of_finds_hosted %}
+ <h4>{% trans "Finds (hosted)" %}</h4>
+ {% dynamic_table_document '' 'finds' 'container__location' item.pk 'TABLE_COLS' output %}
+ {% else %}
+ <div class="alert alert-info">
+ <i class="fa fa-exclamation-triangle"></i>
+ {% trans "No find inside this warehouse" %}
+ </div>
+ {% endif %}
+ {% if item.number_of_finds %}
+ <h4>{% trans "Finds (owned)" %}</h4>
+ {% dynamic_table_document '' 'finds' 'container_ref__location' item.pk 'TABLE_COLS' output %}
+ {% else %}
+ <div class="alert alert-info">
+ <i class="fa fa-exclamation-triangle"></i>
+ {% trans "No find owned by this warehouse" %}
+ </div>
+ {% endif %}
</div>
<div class="tab-pane fade" id="{{window_id}}-stats"