Add share servers to share network detail
We're missing share servers in the network detailed view. Also, it's not helpful to show either Share Servers or Security Services when none exist (or are not retrievable). Change-Id: Iacb8145f7865d73c479130cbe94078b4cc5c831a Partial-Bug: #1702396
This commit is contained in:
parent
ca9cb26eee
commit
c8723091ed
@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="detail">
|
<div class="detail">
|
||||||
<h4>{% trans "Net Details" %}</h4>
|
<h4>{% trans "Network Details" %}</h4>
|
||||||
<hr class="header_rule">
|
<hr class="header_rule">
|
||||||
<dl class="dl-horizontal">
|
<dl class="dl-horizontal">
|
||||||
<dt>{% trans "Network" %}</dt>
|
<dt>{% trans "Network" %}</dt>
|
||||||
@ -31,6 +31,24 @@
|
|||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{% if share_network.share_servers %}
|
||||||
|
<div class="detail">
|
||||||
|
<h4>{% trans "Share Servers" %}</h4>
|
||||||
|
<hr class="header_rule">
|
||||||
|
<dl class="dl-horizontal">
|
||||||
|
{% for server in share_network.share_servers %}
|
||||||
|
<ul>
|
||||||
|
{% url 'horizon:admin:share_servers:share_server_detail' server.id as server_url %}
|
||||||
|
<li><a href="{{ server_url }}">{{ server.id }}</a></li>
|
||||||
|
</ul>
|
||||||
|
{% endfor %}
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
{% if share_network.sec_services %}
|
||||||
<div class="detail">
|
<div class="detail">
|
||||||
<h4>{% trans "Security Services" %}</h4>
|
<h4>{% trans "Security Services" %}</h4>
|
||||||
<hr class="header_rule">
|
<hr class="header_rule">
|
||||||
@ -47,3 +65,4 @@
|
|||||||
<br />
|
<br />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Share servers are added to the share network details page. The page has
|
||||||
|
been modified to show share servers and security services only if any
|
||||||
|
exist, or are retrievable from the server.
|
Loading…
Reference in New Issue
Block a user