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:
Tom Strickx 2017-10-27 11:26:38 -07:00
parent 0a04bb110a
commit e26a0574ba

View File

@ -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">