mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 17:18:16 -06:00
Display "Access VLAN" on hover in interfaces list
This is very useful for us. That way we can see at once what Access VLAN a interfaces is connected to. Originally I also wanted to display Tagged VLANs in the hover, but I couldn't find out how to do it. We'd be very happy if you'd include this feature. Thanks a log for netbox!
This commit is contained in:
parent
b97597c645
commit
b950883254
@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
{# Icon and name #}
|
{# Icon and name #}
|
||||||
<td>
|
<td>
|
||||||
<span title="{{ iface.get_form_factor_display }}">
|
<span title="{{ iface.get_form_factor_display }}{% if iface.untagged_vlan is not None %}
|
||||||
|
13 Access VLAN: {{ iface.untagged_vlan }}{% endif %}">
|
||||||
<i class="fa fa-fw fa-{% if iface.mgmt_only %}wrench{% elif iface.is_lag %}align-justify{% elif iface.is_virtual %}circle{% elif iface.is_wireless %}wifi{% else %}exchange{% endif %}"></i>
|
<i class="fa fa-fw fa-{% if iface.mgmt_only %}wrench{% elif iface.is_lag %}align-justify{% elif iface.is_virtual %}circle{% elif iface.is_wireless %}wifi{% else %}exchange{% endif %}"></i>
|
||||||
<a href="{{ iface.get_absolute_url }}">{{ iface }}</a>
|
<a href="{{ iface.get_absolute_url }}">{{ iface }}</a>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user