{% load i18n horizon humanize bootstrap %}

{% block head %}{% trans "Volume Limits" %}{% endblock %}

{% trans "Total Gibibytes" %} ({% block gigabytes_used %}{{ usages.gigabytes.used|intcomma }}{% endblock %} {% trans "GiB" %})
{{ usages.gigabytes.quota|intcomma|quota:_("GiB") }}
{{ minifyspace }}
{% widthratio usages.gigabytes.used usages.gigabytes.quota 100 as gigabytes_percent %} {% bs_progress_bar gigabytes_percent 0 %}
{{ endminifyspace }}
{% block type_title %}{% trans "Number of Volumes" %}{% endblock %} ({% block used %}{{ usages.volumes.used|intcomma }}{% endblock %})
{% block total %}{{ usages.volumes.quota|intcomma|quota }}{% endblock %}
{{ minifyspace }}
{% widthratio usages.volumes.used usages.volumes.quota 100 as volumes_percent %} {% if numRequestedItems %} {% widthratio 100 usages.volumes.quota numRequestedItems as single_step %} {% else %} {% widthratio 100 usages.volumes.quota 1 as single_step %} {% endif %} {% bs_progress_bar volumes_percent single_step %}
{{ endminifyspace }}