mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 06:44:33 +02:00
monitoring: Update content markup in servicegroups
This commit is contained in:
parent
913c024e46
commit
ad8cffcbbd
@ -12,7 +12,7 @@ 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 service groups found matching the filter.') ?></p>
|
<p><?= $this->translate('No service groups found matching the filter.') ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php return; endif ?>
|
<?php return; endif ?>
|
||||||
@ -25,7 +25,7 @@ if (! $this->compact): ?>
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($servicegroups->peekAhead($this->compact) as $serviceGroup): ?>
|
<?php foreach ($serviceGroups->peekAhead($this->compact) as $serviceGroup): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="count-col">
|
<td class="count-col">
|
||||||
<span class="badge"><?= $serviceGroup->services_total ?></span>
|
<span class="badge"><?= $serviceGroup->services_total ?></span>
|
||||||
@ -160,15 +160,17 @@ if (! $this->compact): ?>
|
|||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php if ($servicegroups->hasMore()): ?>
|
<?php if ($serviceGroups->hasMore()): ?>
|
||||||
|
<div class="action-links">
|
||||||
<?= $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,
|
||||||
array(
|
array(
|
||||||
'data-base-target' => '_next',
|
'class' => 'action-link',
|
||||||
'class' => 'pull-right action-link'
|
'data-base-target' => '_next'
|
||||||
)
|
)
|
||||||
) ?>
|
) ?>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user