monitoring: Indent the service groups overview w/ 4 spaces

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-28 17:55:57 +02:00
parent 2e611bfd03
commit 22fb507a2e
2 changed files with 145 additions and 148 deletions

View File

@ -11,9 +11,9 @@ if (! $this->compact): ?>
<?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>
@ -21,10 +21,7 @@ if (! $this->compact): ?>
<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(