mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
Tweak component templates
This commit is contained in:
parent
9ce752f8d1
commit
57bd4be9c0
@ -1,4 +1,4 @@
|
|||||||
{% if path %}
|
{% if path.destination_id %}
|
||||||
{% with endpoint=path.destination %}
|
{% with endpoint=path.destination %}
|
||||||
<td><a href="{{ endpoint.parent.get_absolute_url }}">{{ endpoint.parent }}</a></td>
|
<td><a href="{{ endpoint.parent.get_absolute_url }}">{{ endpoint.parent }}</a></td>
|
||||||
<td><a href="{{ endpoint.get_absolute_url }}">{{ endpoint }}</a></td>
|
<td><a href="{{ endpoint.get_absolute_url }}">{{ endpoint }}</a></td>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
{# Description #}
|
{# Description #}
|
||||||
<td>{{ frontport.description|placeholder }}</td>
|
<td>{{ frontport.description|placeholder }}</td>
|
||||||
|
|
||||||
{# Cable/connection #}
|
{# Cable #}
|
||||||
{% if frontport.cable %}
|
{% if frontport.cable %}
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ frontport.cable.get_absolute_url }}">{{ frontport.cable }}</a>
|
<a href="{{ frontport.cable.get_absolute_url }}">{{ frontport.cable }}</a>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
{# Description #}
|
{# Description #}
|
||||||
<td>{{ rearport.description|placeholder }}</td>
|
<td>{{ rearport.description|placeholder }}</td>
|
||||||
|
|
||||||
{# Cable/connection #}
|
{# Cable #}
|
||||||
{% if rearport.cable %}
|
{% if rearport.cable %}
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ rearport.cable.get_absolute_url }}">{{ rearport.cable }}</a>
|
<a href="{{ rearport.cable.get_absolute_url }}">{{ rearport.cable }}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user