mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
[webui] sort vlan tooltip by vlanid (#16266)
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
<div class="tw-text-blue-800">
|
||||
<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>
|
||||
<span title="{{ $port->vlans->sortby('vlan')->pluck('vlan')->implode(',') }}">{{ __('port.vlan_count', ['count' => $port->vlans->count()]) }}</span>
|
||||
@elseif($port->vlans->count() == 1 || $port->ifVlan)
|
||||
{{ __('port.vlan_label', ['label' => $port->vlans->first()->vlan ?: $port->ifVlan]) }}
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user