Add proper titles to the hostgroups component view

refs #8458
This commit is contained in:
Johannes Meyer 2015-02-23 17:28:02 +01:00
parent 0d8bf462f5
commit 7247ea5191
1 changed files with 6 additions and 3 deletions

View File

@ -4,9 +4,12 @@ if (empty($object->hostgroups)) return;
$list = array();
foreach ($object->hostgroups as $name => $alias) {
$list[] = $this->qlink($alias, 'monitoring/list/hosts', array(
'hostgroup' => $name
));
$list[] = $this->qlink(
$alias,
'monitoring/list/hosts',
array('hostgroup' => $name),
array('title' => sprintf($this->translate('List all hosts in the group "%s"'), $alias))
);
}
printf(
"<tr><th>%s</th><td>%s %s</td></tr>\n",