mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Show device "features" in correct column (#9366)
This commit is contained in:
committed by
Tony Murray
co-authored by
Tony Murray
parent
099c2e4772
commit
a31f477290
@@ -208,8 +208,8 @@ foreach (dbFetchRows($sql, $param) as $device) {
|
||||
}
|
||||
|
||||
if ($subformat == 'detail') {
|
||||
$platform = $device['hardware'] . '<br>' . $device['features'];
|
||||
$os = $device['os_text'] . '<br>' . $device['version'];
|
||||
$platform = $device['hardware'];
|
||||
$os = $device['os_text'] . '<br>' . $device['version'] . (empty($device['features'])? "" : " ({$device['features']})");
|
||||
$device['ip'] = inet6_ntop($device['ip']);
|
||||
$uptime = formatUptime($device['uptime'], 'short');
|
||||
$hostname .= '<br />' . get_device_name($device);
|
||||
|
||||
Reference in New Issue
Block a user