{% load i18n %} {# a host's storage pools: storage, from views.host_pools #} {% if storage is None %}
{% trans "The storage pools could not be read." %}
{% elif not storage.pool %}
{% trans "No active storage pool." %}
{% else %} {% include "computes/pool_bar.html" with pool=storage.pool %} {% endif %} {% if storage.more_pools %}
{% blocktrans count counter=storage.more_pools|length %}{{ counter }} more pool{% plural %}{{ counter }} more pools{% endblocktrans %} {% for pool in storage.more_pools %}
{% include "computes/pool_bar.html" %}
{% endfor %}
{% endif %}