@@ -1,4 +1,4 @@
-{% if path %}
+{% if path.destination_id %}
{% with endpoint=path.destination %}
<td><a href="{{ endpoint.parent.get_absolute_url }}">{{ endpoint.parent }}</a></td>
<td><a href="{{ endpoint.get_absolute_url }}">{{ endpoint }}</a></td>
@@ -24,7 +24,7 @@
{# Description #}
<td>{{ frontport.description|placeholder }}</td>
- {# Cable/connection #}
+ {# Cable #}
{% if frontport.cable %}
<td>
<a href="{{ frontport.cable.get_absolute_url }}">{{ frontport.cable }}</a>
@@ -23,7 +23,7 @@
<td>{{ rearport.description|placeholder }}</td>
{% if rearport.cable %}
<a href="{{ rearport.cable.get_absolute_url }}">{{ rearport.cable }}</a>