mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add Metrics Icons Tooltip (#10811)
This commit is contained in:
@@ -240,7 +240,7 @@ class DeviceController extends TableController
|
||||
private function formatMetric($device, $count, $tab, $icon)
|
||||
{
|
||||
$html = '<a href="' . Url::deviceUrl($device, ['tab' => $tab]) . '">';
|
||||
$html .= '<span><i class="fa ' . $icon . ' fa-lg icon-theme"></i> ' . $count;
|
||||
$html .= '<span><i title="' . $tab . '" class="fa ' . $icon . ' fa-lg icon-theme"></i> ' . $count;
|
||||
$html .= '</span></a> ';
|
||||
return $html;
|
||||
}
|
||||
|
Reference in New Issue
Block a user