mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-30 04:16:24 -06:00
Clean up termination attrs display
This commit is contained in:
parent
843fe3498b
commit
eeb9c6b1b2
@ -1,18 +1,19 @@
|
|||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% if termination.termination %}
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{% trans "Termination" %}</th>
|
<th scope="row">{% trans "Termination point" %}</th>
|
||||||
{% if termination.termination %}
|
{% if termination.termination %}
|
||||||
<td>{{ termination.termination|linkify }} ({% trans termination.termination_type.name %})</td>
|
<td>
|
||||||
|
{{ termination.termination|linkify }}
|
||||||
|
<div class="fs-5 text-muted">{% trans termination.termination_type.name|bettertitle %}</div>
|
||||||
|
</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td>{{ ''|placeholder }}</td>
|
<td>{{ ''|placeholder }}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{% trans "Termination" %}</th>
|
<th scope="row">{% trans "Connection" %}</th>
|
||||||
<td>
|
<td>
|
||||||
{% if termination.mark_connected %}
|
{% if termination.mark_connected %}
|
||||||
<span class="text-success"><i class="mdi mdi-check-bold"></i></span>
|
<span class="text-success"><i class="mdi mdi-check-bold"></i></span>
|
||||||
@ -57,12 +58,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% else %}
|
|
||||||
<tr>
|
|
||||||
<th scope="row">{% trans "Provider Network" %}</th>
|
|
||||||
<td>{{ termination.provider_network.provider|linkify }} / {{ termination.provider_network|linkify }}</td>
|
|
||||||
</tr>
|
|
||||||
{% endif %}
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{% trans "Speed" %}</th>
|
<th scope="row">{% trans "Speed" %}</th>
|
||||||
<td>
|
<td>
|
||||||
|
Loading…
Reference in New Issue
Block a user