mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 16:18:16 -06:00
Fixes #1655
Further field name references were found in `consoleport.html`. These have now been removed, so we rely on proper a proper `__str__` implementation of both `ConsolePort` and `ConsoleServerPort`.
This commit is contained in:
parent
0a04bb110a
commit
e26a0574ba
@ -1,13 +1,13 @@
|
||||
<tr class="consoleport{% if cp.cs_port and not cp.connection_status %} info{% endif %}">
|
||||
<td>
|
||||
<i class="fa fa-fw fa-keyboard-o"></i> {{ cp.name }}
|
||||
<i class="fa fa-fw fa-keyboard-o"></i> {{ cp }}
|
||||
</td>
|
||||
{% if cp.cs_port %}
|
||||
<td>
|
||||
<a href="{% url 'dcim:device' pk=cp.cs_port.device.pk %}">{{ cp.cs_port.device }}</a>
|
||||
</td>
|
||||
<td>
|
||||
{{ cp.cs_port.name }}
|
||||
{{ cp.cs_port }}
|
||||
</td>
|
||||
{% else %}
|
||||
<td colspan="2">
|
||||
|
Loading…
Reference in New Issue
Block a user