mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 04:56:29 -06:00
Fix display of circuit termination provider network
This commit is contained in:
parent
c323105696
commit
22d160b1da
@ -27,6 +27,7 @@
|
||||
<div class="card-body">
|
||||
{% if termination %}
|
||||
<table class="table table-hover attr-table">
|
||||
{% if termination.site %}
|
||||
<tr>
|
||||
<td>Site</td>
|
||||
<td>
|
||||
@ -53,7 +54,6 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<a href="{{ termination.cable.get_absolute_url }}">{{ termination.cable }}</a>
|
||||
{% with peer=termination.get_cable_peer %}
|
||||
to
|
||||
@ -64,8 +64,7 @@
|
||||
{% endif %}
|
||||
<a href="{{ peer.get_absolute_url }}">{{ peer }}</a>
|
||||
{% endwith %}
|
||||
{% else %}
|
||||
{% if perms.dcim.add_cable %}
|
||||
{% elif perms.dcim.add_cable %}
|
||||
<div class="dropdown">
|
||||
<button type="button" class="btn btn-success btn-sm dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="mdi mdi-ethernet-cable" aria-hidden="true"></span> Connect
|
||||
@ -80,7 +79,7 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% comment %} {% else %} {% endcomment %}
|
||||
{% else %}
|
||||
<tr>
|
||||
<td>Provider Network</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user