|
@@ -58,26 +58,20 @@
|
|
|
<td>{{ circuit.cid }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>Site</td>
|
|
|
- <td>
|
|
|
- <a href="{% url 'dcim:site' slug=circuit.site.slug %}">{{ circuit.site }}</a>
|
|
|
- </td>
|
|
|
+ <td>Type</td>
|
|
|
+ <td><a href="{{ circuit.type.get_absolute_url }}">{{ circuit.type }}</a></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>Termination</td>
|
|
|
+ <td>Tenant</td>
|
|
|
<td>
|
|
|
- {% if circuit.interface %}
|
|
|
- <span><a href="{% url 'dcim:device' pk=circuit.interface.device.pk %}">{{ circuit.interface.device }}</a> {{ circuit.interface }}</span>
|
|
|
+ {% if circuit.tenant %}
|
|
|
+ <a href="{{ circuit.tenant.get_absolute_url }}">{{ circuit.tenant }}</a>
|
|
|
{% else %}
|
|
|
- <span class="text-muted">Not defined</span>
|
|
|
+ <span class="text-muted">N/A</span>
|
|
|
{% endif %}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>Install Date</td>
|
|
|
- <td>{{ circuit.install_date }}</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
<td>Port Speed</td>
|
|
|
<td>{{ circuit.port_speed_human }}</td>
|
|
|
</tr>
|
|
@@ -86,14 +80,6 @@
|
|
|
<td>{% if circuit.commit_rate %}{{ circuit.commit_rate_human }}{% else %}<span class="text-muted">N/A</span>{% endif %}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>Cross-Connect</td>
|
|
|
- <td>{{ circuit.xconnect_id }}</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>Patch Panel/Port</td>
|
|
|
- <td>{{ circuit.pp_info }}</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
<td>Created</td>
|
|
|
<td>{{ circuit.created }}</td>
|
|
|
</tr>
|
|
@@ -107,6 +93,59 @@
|
|
|
<div class="col-md-6">
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-heading">
|
|
|
+ <strong>Termination</strong>
|
|
|
+ </div>
|
|
|
+ <table class="table table-hover panel-body">
|
|
|
+ <tr>
|
|
|
+ <td>Site</td>
|
|
|
+ <td>
|
|
|
+ <a href="{% url 'dcim:site' slug=circuit.site.slug %}">{{ circuit.site }}</a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>Termination</td>
|
|
|
+ <td>
|
|
|
+ {% if circuit.interface %}
|
|
|
+ <span><a href="{% url 'dcim:device' pk=circuit.interface.device.pk %}">{{ circuit.interface.device }}</a> {{ circuit.interface }}</span>
|
|
|
+ {% else %}
|
|
|
+ <span class="text-muted">Not defined</span>
|
|
|
+ {% endif %}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>Install Date</td>
|
|
|
+ <td>
|
|
|
+ {% if circuit.install_date %}
|
|
|
+ {{ circuit.install_date }}
|
|
|
+ {% else %}
|
|
|
+ <span class="text-muted">N/A</span>
|
|
|
+ {% endif %}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>Cross-Connect</td>
|
|
|
+ <td>
|
|
|
+ {% if circuit.xconnect_id %}
|
|
|
+ {{ circuit.xconnect_id }}
|
|
|
+ {% else %}
|
|
|
+ <span class="text-muted">N/A</span>
|
|
|
+ {% endif %}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>Patch Panel/Port</td>
|
|
|
+ <td>
|
|
|
+ {% if circuit.pp_info %}
|
|
|
+ {{ circuit.pp_info }}
|
|
|
+ {% else %}
|
|
|
+ <span class="text-muted">N/A</span>
|
|
|
+ {% endif %}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div class="panel panel-default">
|
|
|
+ <div class="panel-heading">
|
|
|
<strong>Comments</strong>
|
|
|
</div>
|
|
|
<div class="panel-body">
|