21 lines
492 B
PHTML
21 lines
492 B
PHTML
<?php
|
|
|
|
if (empty($object->servicegroups)) return;
|
|
|
|
$list = array();
|
|
foreach ($object->servicegroups as $name => $alias) {
|
|
$list[] = $this->qlink(
|
|
$alias,
|
|
'monitoring/list/services',
|
|
array('servicegroup_name' => $name),
|
|
array('title' => sprintf($this->translate('List all services in the group "%s"'), $alias))
|
|
);
|
|
}
|
|
|
|
printf(
|
|
"<tr><th>%s</th><td class=\"go-ahead\">%s</td></tr>\n",
|
|
$this->translate('Servicegroups'),
|
|
implode(', ', $list)
|
|
);
|
|
|