added check if empty

This commit is contained in:
Leon Noe Jovan
2022-02-14 17:37:41 +01:00
parent f898ee8d31
commit b19cfa6d48
2 changed files with 9 additions and 2 deletions

View File

@@ -98,7 +98,13 @@
}%}
{% if upload_history|length == 0 %}
<div class="row">
<div class="col-6">
<p>Zgodovina sodelovanja je trenutno še prazna.</p>
</div>
</div>
{% endif %}
{% for item in upload_history %}
{% set item_values = [] %}
{% if institution_names[loop.index - 1] %}