aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/macros/packagegridtile.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/templates/macros/packagegridtile.html b/app/templates/macros/packagegridtile.html
index 9f70c1c..3fb39a8 100644
--- a/app/templates/macros/packagegridtile.html
+++ b/app/templates/macros/packagegridtile.html
@@ -40,8 +40,10 @@
{% else %}
<li><i>No packages available</i></ul>
{% endfor %}
- {% for i in range(4) %}
- <li class="packagetile flex-fill"></li>
- {% endfor %}
+ {% if packages %}
+ {% for i in range(4) %}
+ <li class="packagetile flex-fill"></li>
+ {% endfor %}
+ {% endif %}
</ul>
{% endmacro %}