Tweak component templates
This commit is contained in:
parent
56ee425227
commit
ffdf5514ae
|
|
@ -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 @@
|
|||
{# Description #}
|
||||
<td>{{ rearport.description|placeholder }}</td>
|
||||
|
||||
{# Cable/connection #}
|
||||
{# Cable #}
|
||||
{% if rearport.cable %}
|
||||
<td>
|
||||
<a href="{{ rearport.cable.get_absolute_url }}">{{ rearport.cable }}</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue