mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
2e611bfd03
commit
22fb507a2e
@ -12,7 +12,7 @@ if (! $this->compact): ?>
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?php if (! $hostgroups->hasResult()): ?>
|
<?php if (! $hostgroups->hasResult()): ?>
|
||||||
<p><?= $this->translate('No host groups found matching the filter.') ?></p>
|
<p><?= $this->translate('No host groups found matching the filter.') ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php return; endif ?>
|
<?php return; endif ?>
|
||||||
|
@ -10,21 +10,18 @@ if (! $this->compact): ?>
|
|||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?php if ($servicegroups->hasResult()): ?>
|
<?php if ($servicegroups->hasResult()): ?>
|
||||||
<p><?= $this->translate('No servicegroups found matching the filter') ?></p>
|
<p><?= $this->translate('No service groups found matching the filter.') ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php return; endif ?>
|
||||||
<table class="groupview action" data-base-target="_next">
|
<table class="groupview action" data-base-target="_next">
|
||||||
<thead>
|
<thead>
|
||||||
<th><?= $this->translate('Service Group') ?></th>
|
<th><?= $this->translate('Service Group') ?></th>
|
||||||
<th><?= $this->translate('Total Services') ?></th>
|
<th><?= $this->translate('Total Services') ?></th>
|
||||||
<th><?= $this->translate('Service States') ?></th>
|
<th><?= $this->translate('Service States') ?></th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php foreach ($servicegroups->peekAhead($this->compact) as $serviceGroup): ?>
|
||||||
|
|
||||||
$servicegroups->peekAhead($this->compact);
|
|
||||||
foreach ($servicegroups as $serviceGroup): ?>
|
|
||||||
<tr href="<?= $this->href('monitoring/list/services', array('servicegroup_name' => $serviceGroup->servicegroup_name)) ?>">
|
<tr href="<?= $this->href('monitoring/list/services', array('servicegroup_name' => $serviceGroup->servicegroup_name)) ?>">
|
||||||
<td class="groupname">
|
<td class="groupname">
|
||||||
<?= $this->qlink(
|
<?= $this->qlink(
|
||||||
@ -156,10 +153,10 @@ foreach ($servicegroups as $serviceGroup): ?>
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php if ($servicegroups->hasMore()): ?>
|
<?php if ($servicegroups->hasMore()): ?>
|
||||||
<?= $this->qlink(
|
<?= $this->qlink(
|
||||||
$this->translate('Show More'),
|
$this->translate('Show More'),
|
||||||
$this->url()->without(array('view', 'limit')),
|
$this->url()->without(array('view', 'limit')),
|
||||||
null,
|
null,
|
||||||
@ -167,6 +164,6 @@ foreach ($servicegroups as $serviceGroup): ?>
|
|||||||
'data-base-target' => '_next',
|
'data-base-target' => '_next',
|
||||||
'class' => 'pull-right show-more'
|
'class' => 'pull-right show-more'
|
||||||
)
|
)
|
||||||
) ?>
|
) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user