mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
[webui] fix port_row.blade generate vlan link (#16256)
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
@endif
|
||||
@if($port->vlans->isNotEmpty())
|
||||
<div class="tw-text-blue-800">
|
||||
<a href="{{ \LibreNMS\Util\Url::deviceUrl($device->device_id, ['tab' => 'vlans']) }}">
|
||||
<a href="{{ \LibreNMS\Util\Url::deviceUrl($port->device_id, ['tab' => 'vlans']) }}">
|
||||
@if($port->vlans->count() > 1)
|
||||
<span title="{{ $port->vlans->pluck('vlan')->implode(',') }}">{{ __('port.vlan_count', ['count' => $port->vlans->count()]) }}</span>
|
||||
@elseif($port->vlans->count() == 1 || $port->ifVlan)
|
||||
|
Reference in New Issue
Block a user