Fix VPN Service Details page
- The "Router ID" label is showing the Router name, not the ID. This label should be changed to just "Router". - Same with the "Subnet ID" labels. This patch fix the above points. Change-Id: I14c7170f796f9211b9c74029266ca8887d2aabd0 Closes-bug: #1500586
This commit is contained in:
parent
2e9b823a21
commit
0c380fb66c
|
@ -14,11 +14,11 @@
|
|||
<dt>{% trans "Project ID" %}</dt>
|
||||
<dd>{{ vpnservice.tenant_id }}</dd>
|
||||
|
||||
<dt>{% trans "Router ID" %}</dt>
|
||||
<dt>{% trans "Router" %}</dt>
|
||||
{% url 'horizon:project:routers:detail' vpnservice.router_id as router_url %}
|
||||
<dd><a href="{{ router_url }}">{{ vpnservice.router.name_or_id }}</a></dd>
|
||||
|
||||
<dt>{% trans "Subnet ID" %}</dt>
|
||||
<dt>{% trans "Subnet" %}</dt>
|
||||
{% if vpnservice.subnet_id %}
|
||||
{% url 'horizon:project:networks:subnets:detail' vpnservice.subnet_id as subnet_url %}
|
||||
<dd><a href="{{ subnet_url }}">{{ vpnservice.subnet.name_or_id }} {{ vpnservice.subnet.cidr }}</a></dd>
|
||||
|
|
Loading…
Reference in New Issue