Correct the create volume snapshot description and used of quota
Create volume snapshot form should show its own description and used of quota not volumes. Change-Id: I5e5b1eb085d7d0c3fe446983128d07f73d113c8c Closes-Bug: #1682987
This commit is contained in:
parent
5d5dcf3e9e
commit
b5e2cd8182
|
@ -2,7 +2,7 @@
|
|||
|
||||
<h3>{% trans "Description:" %}</h3>
|
||||
|
||||
<p>{% blocktrans %}Volumes are block devices that can be attached to instances.{% endblocktrans %}</p>
|
||||
<p>{% block title %}{% trans "Volumes are block devices that can be attached to instances." %}{% endblock %}</p>
|
||||
|
||||
<div id="id_show_volume_type_desc_div">
|
||||
<h3>{% trans "Volume Type Description:" %}</h3>
|
||||
|
@ -39,7 +39,9 @@
|
|||
<strong>{% block type_title %}{% trans "Number of Volumes" %}{% endblock %}</strong>
|
||||
</div>
|
||||
<span class="pull-right">
|
||||
{% block used_of_quota %}
|
||||
{% blocktrans with used=usages.volumesUsed|intcomma quota=usages.maxTotalVolumes|intcomma|quotainf %}{{ used }} of {{ quota }} Used{% endblocktrans %}
|
||||
{% endblock %}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue