diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-09-09 12:52:27 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:20 +0100 |
commit | 83b11ab895faadb7396c3701f6465793e7a8f825 (patch) | |
tree | b244376b7a769df8a9c5c48ce0ecfad204bcbfc3 /archaeological_warehouse/templates | |
parent | eb44d76df31c2ba612b4c1fb41bdf43d01fa7e22 (diff) | |
download | Ishtar-83b11ab895faadb7396c3701f6465793e7a8f825.tar.bz2 Ishtar-83b11ab895faadb7396c3701f6465793e7a8f825.zip |
Sheet warehouse: display find inside/owned by the warehouse
Diffstat (limited to 'archaeological_warehouse/templates')
-rw-r--r-- | archaeological_warehouse/templates/ishtar/sheet_warehouse.html | 18 |
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" |