mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #296 from laf/issue-laf-40
Fixed the device image in the devices list (now shows image)
This commit is contained in:
@@ -25,6 +25,7 @@ $type = strtolower($device['os']);
|
|||||||
|
|
||||||
if ($device['os'] == "ios") { formatCiscoHardware($device, true); }
|
if ($device['os'] == "ios") { formatCiscoHardware($device, true); }
|
||||||
$device['os_text'] = $config['os'][$device['os']]['text'];
|
$device['os_text'] = $config['os'][$device['os']]['text'];
|
||||||
|
$image = getImage($device);
|
||||||
|
|
||||||
echo(' <tr onclick="location.href=\'device/'.$device['device_id'].'/\'" style="cursor: pointer;">
|
echo(' <tr onclick="location.href=\'device/'.$device['device_id'].'/\'" style="cursor: pointer;">
|
||||||
<td class="'. $class .' "></td>
|
<td class="'. $class .' "></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user