mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +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">
|
||||
<?php
|
||||
|
||||
$servicegroups->peekAhead($this->compact);
|
||||
$firstRow = true;
|
||||
foreach ($servicegroups as $s): ?>
|
||||
<?php if ($firstRow): ?>
|
||||
@ -301,6 +302,17 @@ foreach ($servicegroups as $s): ?>
|
||||
<?php if ($servicegroups->hasResult()): ?>
|
||||
</tbody>
|
||||
</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: ?>
|
||||
<?= $this->translate('No servicegroups found matching the filter'); ?>
|
||||
<?php endif ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user