2018-11-14 12:17:18 -05:00
|
|
|
{% load helpers %}
|
2018-10-25 15:51:12 -04:00
|
|
|
<table class="table table-hover panel-body attr-table">
|
2022-04-29 15:16:35 -04:00
|
|
|
{% if terminations.0.device %}
|
2022-04-25 17:10:15 -04:00
|
|
|
{# Device component #}
|
2022-05-18 12:56:16 -04:00
|
|
|
<tr>
|
|
|
|
|
<td>Site</td>
|
|
|
|
|
<td>{{ terminations.0.device.site|linkify }}</td>
|
|
|
|
|
</tr>
|
2022-04-25 17:10:15 -04:00
|
|
|
<tr>
|
|
|
|
|
<td>Device</td>
|
2022-04-29 15:16:35 -04:00
|
|
|
<td>{{ terminations.0.device|linkify }}</td>
|
2022-04-25 17:10:15 -04:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2022-05-18 12:56:16 -04:00
|
|
|
<td>Rack</td>
|
|
|
|
|
<td>{{ terminations.0.device.rack|linkify|placeholder }}</td>
|
2022-04-25 17:10:15 -04:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2022-04-29 15:16:35 -04:00
|
|
|
<td>{{ terminations.0|meta:"verbose_name"|capfirst }}</td>
|
2022-04-25 17:10:15 -04:00
|
|
|
<td>
|
2022-04-29 15:16:35 -04:00
|
|
|
{% for term in terminations %}
|
2022-04-25 17:10:15 -04:00
|
|
|
{{ term|linkify }}{% if not forloop.last %},{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% else %}
|
|
|
|
|
{# Circuit termination #}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Provider</td>
|
2022-04-29 15:16:35 -04:00
|
|
|
<td>{{ terminations.0.circuit.provider|linkify }}</td>
|
2022-04-25 17:10:15 -04:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Circuit</td>
|
|
|
|
|
<td>
|
2022-04-29 15:16:35 -04:00
|
|
|
{% for term in terminations %}
|
2022-04-25 17:10:15 -04:00
|
|
|
{{ term.circuit|linkify }} ({{ term }}){% if not forloop.last %},{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
2022-03-15 00:04:22 +00:00
|
|
|
</table>
|