Add Metrics Icons Tooltip (#10811)

This commit is contained in:
Kade Cole 2019-11-12 20:21:44 -06:00 committed by Tony Murray
parent 12773d125b
commit 59ab34b67e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}