Add availability zone field for public shares

There is empty field for availability zone for public shares. So add
availability zone for public share in admin dashboard and user
dashboard.

Closes-Bug: #1498433
Change-Id: Ic28f360f20bf68746c287a39ec297a4782087ced
This commit is contained in:
vrushti
2020-03-19 13:54:17 +05:30
committed by Goutham Pacha Ravi
parent a1bd02d304
commit e1bcac22ac
3 changed files with 8 additions and 6 deletions

View File

@@ -41,10 +41,9 @@
<dd>{{ 'public' }}</dd>
{% else %}
<dd>{{ 'private' }}</dd>
{% endif %}
<dt>{% trans "Availability zone" %}</dt>
<dd>{{ share.availability_zone }}</dd>
{% endif %}
<dt>{% trans "Size" %}</dt>
<dd>{{ share.size }} {% trans "GiB" %}</dd>
<dt>{% trans "Protocol" %}</dt>
@@ -106,4 +105,4 @@
<dd>{{ value }}</dd>
{% endfor %}
</dl>
</div>
</div>

View File

@@ -41,10 +41,9 @@
<dd>{{ 'public' }}</dd>
{% else %}
<dd>{{ 'private' }}</dd>
{% endif %}
<dt>{% trans "Availability zone" %}</dt>
<dd>{{ share.availability_zone }}</dd>
{% endif %}
<dt>{% trans "Size" %}</dt>
<dd>{{ share.size }} {% trans "GiB" %}</dd>
<dt>{% trans "Protocol" %}</dt>
@@ -108,4 +107,4 @@
<dd>{{ value }}</dd>
{% endfor %}
</dl>
</div>
</div>

View File

@@ -0,0 +1,4 @@
---
fixes:
- Availability zone field is now shown for both public and private shares in the dashboard showing
detailed share information.