2013-07-12 14:33:17 +02:00
|
|
|
<?php
|
2013-09-24 15:26:10 +02:00
|
|
|
$servicegroups = array();
|
2013-07-12 14:33:17 +02:00
|
|
|
foreach ($object->servicegroups as $name => $alias) {
|
2013-09-24 15:26:10 +02:00
|
|
|
$servicegroups[] = '<a href="' . $this->href('monitoring/list/service', array('servicegroups' => $name)) . '">'
|
|
|
|
. $alias
|
|
|
|
. '</a>';
|
2013-07-12 14:33:17 +02:00
|
|
|
}
|
2013-09-24 15:26:10 +02:00
|
|
|
?>
|
2013-10-15 12:48:33 +02:00
|
|
|
<div>
|
2013-09-24 15:26:10 +02:00
|
|
|
<div class="panel-heading">
|
2013-10-15 12:48:33 +02:00
|
|
|
<div class="panel-hostname">
|
|
|
|
Servicegroups
|
|
|
|
</div>
|
2013-09-24 15:26:10 +02:00
|
|
|
</div>
|
2013-10-15 12:48:33 +02:00
|
|
|
|
|
|
|
<hr class="separator" />
|
|
|
|
|
2013-09-24 15:26:10 +02:00
|
|
|
<div class="panel-body">
|
2013-10-15 12:48:33 +02:00
|
|
|
<?php if (!count($servicegroups)): ?>
|
|
|
|
No Servicegroups
|
|
|
|
<?php else: ?>
|
|
|
|
<?= implode(', ', $servicegroups); ?>
|
|
|
|
<?php endif; ?>
|
2013-09-24 15:26:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|