diff --git a/openstack_dashboard/dashboards/project/volumes/templates/volumes/_limits.html b/openstack_dashboard/dashboards/project/volumes/templates/volumes/_limits.html index 35888d2c12..d0ee1cc2ea 100644 --- a/openstack_dashboard/dashboards/project/volumes/templates/volumes/_limits.html +++ b/openstack_dashboard/dashboards/project/volumes/templates/volumes/_limits.html @@ -2,7 +2,7 @@

{% trans "Description:" %}

-

{% blocktrans %}Volumes are block devices that can be attached to instances.{% endblocktrans %}

+

{% block title %}{% trans "Volumes are block devices that can be attached to instances." %}{% endblock %}

{% trans "Volume Type Description:" %}

@@ -39,7 +39,9 @@ {% block type_title %}{% trans "Number of Volumes" %}{% endblock %}
+ {% block used_of_quota %} {% blocktrans with used=usages.volumesUsed|intcomma quota=usages.maxTotalVolumes|intcomma|quotainf %}{{ used }} of {{ quota }} Used{% endblocktrans %} + {% endblock %} diff --git a/openstack_dashboard/dashboards/project/volumes/templates/volumes/_snapshot_limits.html b/openstack_dashboard/dashboards/project/volumes/templates/volumes/_snapshot_limits.html index 237fcc688e..1a9f7bf832 100644 --- a/openstack_dashboard/dashboards/project/volumes/templates/volumes/_snapshot_limits.html +++ b/openstack_dashboard/dashboards/project/volumes/templates/volumes/_snapshot_limits.html @@ -21,12 +21,8 @@ {% trans "Number of Snapshots" %} {% endblock %} -{% block used %} - {{ usages.snapshotsUsed|intcomma }} -{% endblock %} - -{% block total %} - {{ usages.maxTotalSnapshots|intcomma|quota }} +{% block used_of_quota %} + {% blocktrans with used=usages.snapshotsUsed|intcomma quota=usages.maxTotalSnapshots|intcomma|quotainf %}{{ used }} of {{ quota }} Used{% endblocktrans %} {% endblock %} {% block type_id %}