mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 12:54:26 +02:00
Use hosts link instead services link
Use hosts link instead services link to show hosts group. refs #7259
This commit is contained in:
parent
08473ff5c9
commit
2f3667aa3d
@ -79,7 +79,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<td class="groupname">
|
<td class="groupname">
|
||||||
<a href="<?= $this->href('monitoring/list/services', array('hostgroup' => $h->hostgroup)); ?>">
|
<a href="<?= $this->href('monitoring/list/hosts', array('hostgroup' => $h->hostgroup)); ?>">
|
||||||
<?= $h->hostgroup; ?>
|
<?= $h->hostgroup; ?>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -4,7 +4,7 @@ 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/services', array(
|
$list[] = $this->qlink($alias, 'monitoring/list/hosts', array(
|
||||||
'hostgroup' => $name
|
'hostgroup' => $name
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user