mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
Servicegroup Overview: Provide a show more link when in compact view
refs #6677
This commit is contained in:
parent
792dc177dd
commit
4481224549
@ -10,6 +10,7 @@
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$servicegroups->peekAhead($this->compact);
|
||||||
$firstRow = true;
|
$firstRow = true;
|
||||||
foreach ($servicegroups as $s): ?>
|
foreach ($servicegroups as $s): ?>
|
||||||
<?php if ($firstRow): ?>
|
<?php if ($firstRow): ?>
|
||||||
@ -301,6 +302,17 @@ foreach ($servicegroups as $s): ?>
|
|||||||
<?php if ($servicegroups->hasResult()): ?>
|
<?php if ($servicegroups->hasResult()): ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<?php if ($servicegroups->hasMore()): ?>
|
||||||
|
<?= $this->qlink(
|
||||||
|
$this->translate('Show More'),
|
||||||
|
$this->url()->without(array('view', 'limit')),
|
||||||
|
null,
|
||||||
|
array(
|
||||||
|
'data-base-target' => '_next',
|
||||||
|
'class' => 'pull-right'
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
|
<?php endif ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= $this->translate('No servicegroups found matching the filter'); ?>
|
<?= $this->translate('No servicegroups found matching the filter'); ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user