mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 17:24:16 +02:00
parent
0d8bf462f5
commit
7247ea5191
@ -4,9 +4,12 @@ if (empty($object->hostgroups)) return;
|
|||||||
|
|
||||||
$list = array();
|
$list = array();
|
||||||
foreach ($object->hostgroups as $name => $alias) {
|
foreach ($object->hostgroups as $name => $alias) {
|
||||||
$list[] = $this->qlink($alias, 'monitoring/list/hosts', array(
|
$list[] = $this->qlink(
|
||||||
'hostgroup' => $name
|
$alias,
|
||||||
));
|
'monitoring/list/hosts',
|
||||||
|
array('hostgroup' => $name),
|
||||||
|
array('title' => sprintf($this->translate('List all hosts in the group "%s"'), $alias))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
printf(
|
printf(
|
||||||
"<tr><th>%s</th><td>%s %s</td></tr>\n",
|
"<tr><th>%s</th><td>%s %s</td></tr>\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user