diff --git a/computes/templates/overview.html b/computes/templates/overview.html index e6f824f..d230df5 100644 --- a/computes/templates/overview.html +++ b/computes/templates/overview.html @@ -53,31 +53,30 @@

{{ hostname }}

- {% for arch, hpv in hypervisor.items %} - {% if forloop.counter < 4 %} -
+ {% for arch, hpv in hypervisor.items|slice:":4" %} +
+ + +
+ {% endfor %} + {% if hypervisor.items|length > 4 %} -
- {% else %} - - {% endif %} - {% endfor %}

{{ emulator }}