mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Linkify components under device view
This commit is contained in:
parent
8695714c65
commit
0fcdd63941
@ -2,7 +2,8 @@
|
||||
|
||||
{# Name #}
|
||||
<td>
|
||||
<i class="fa fa-fw fa-keyboard-o"></i> {{ cp }}
|
||||
<i class="fa fa-fw fa-keyboard-o"></i>
|
||||
<a href="{{ cp.get_absolute_url }}">{{ cp }}</a>
|
||||
</td>
|
||||
|
||||
{# Type #}
|
||||
|
@ -11,7 +11,8 @@
|
||||
|
||||
{# Name #}
|
||||
<td>
|
||||
<i class="fa fa-fw fa-keyboard-o"></i> {{ csp }}
|
||||
<i class="fa fa-fw fa-keyboard-o"></i>
|
||||
<a href="{{ csp.get_absolute_url }}">{{ csp }}</a>
|
||||
</td>
|
||||
|
||||
{# Type #}
|
||||
|
@ -9,7 +9,8 @@
|
||||
|
||||
{# Name #}
|
||||
<td>
|
||||
<i class="fa fa-fw fa-{% if devicebay.installed_device %}dot-circle-o{% else %}circle-o{% endif %}"></i> {{ devicebay.name }}
|
||||
<i class="fa fa-fw fa-{% if devicebay.installed_device %}dot-circle-o{% else %}circle-o{% endif %}"></i>
|
||||
<a href="{{ devicebay.get_absolute_url }}">{{ devicebay.name }}</a>
|
||||
</td>
|
||||
|
||||
{# Status #}
|
||||
|
@ -10,7 +10,8 @@
|
||||
|
||||
{# Name #}
|
||||
<td>
|
||||
<i class="fa fa-fw fa-square{% if not frontport.cable %}-o{% endif %}"></i> {{ frontport }}
|
||||
<i class="fa fa-fw fa-square{% if not frontport.cable %}-o{% endif %}"></i>
|
||||
<a href="{{ frontport.get_absolute_url }}">{{ frontport }}</a>
|
||||
</td>
|
||||
|
||||
{# Type #}
|
||||
|
@ -11,7 +11,8 @@
|
||||
|
||||
{# Name #}
|
||||
<td>
|
||||
<i class="fa fa-fw fa-bolt"></i> {{ po }}
|
||||
<i class="fa fa-fw fa-bolt"></i>
|
||||
<a href="{{ po.get_absolute_url }}">{{ po }}</a>
|
||||
</td>
|
||||
|
||||
{# Type #}
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
{# Name #}
|
||||
<td>
|
||||
<i class="fa fa-fw fa-bolt"></i> {{ pp }}
|
||||
<i class="fa fa-fw fa-bolt"></i>
|
||||
<a href="{{ pp.get_absolute_url }}">{{ pp }}</a>
|
||||
</td>
|
||||
|
||||
{# Type #}
|
||||
|
@ -10,7 +10,8 @@
|
||||
|
||||
{# Name #}
|
||||
<td>
|
||||
<i class="fa fa-fw fa-square{% if not rearport.cable %}-o{% endif %}"></i> {{ rearport }}
|
||||
<i class="fa fa-fw fa-square{% if not rearport.cable %}-o{% endif %}"></i>
|
||||
<a href="{{ rearport.get_absolute_url }}">{{ rearport }}</a>
|
||||
</td>
|
||||
|
||||
{# Type #}
|
||||
|
Loading…
Reference in New Issue
Block a user