mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Converted Circuit port_speed to PositiveIntegerField
This commit is contained in:
@@ -79,11 +79,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Port Speed</td>
|
||||
<td>{{ circuit.get_port_speed_display }}</td>
|
||||
<td>{{ circuit.port_speed }} Kbps</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Commit Rate</td>
|
||||
<td>{{ circuit.commit_rate }}</td>
|
||||
<td>{% if circuit.commit_rate %}{{ circuit.commit_rate }} Kbps{% else %}<span class="text-muted">N/A</span>{% endif %}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cross-Connect</td>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<td><a href="{% url 'circuits:circuit' pk=circuit.pk %}">{{ circuit }}</a></td>
|
||||
<td>{{ circuit.type }}</td>
|
||||
<td>{{ circuit.provider }}</td>
|
||||
<td>{{ circuit.port_speed }}</td>
|
||||
<td>{{ circuit.port_speed }} Kbps</td>
|
||||
<td>{{ circuit.commit_rate }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
@@ -90,7 +90,7 @@
|
||||
<a href="{% url 'dcim:device' pk=c.interface.device.pk %}">{{ c.interface.device }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ c.get_port_speed_display }}</td>
|
||||
<td>{{ c.port_speed }} Kbps</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user