CSS: Wrap show more hosts link in a text-right container

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-24 11:58:52 +02:00
parent c34812f59f
commit f6efa85079
1 changed files with 11 additions and 9 deletions

View File

@ -95,14 +95,16 @@ if (! $this->compact): ?>
<?php if (! $hosts->hasResult()): ?> <?php if (! $hosts->hasResult()): ?>
<?= $this->translate('No hosts found matching the filter') ?> <?= $this->translate('No hosts found matching the filter') ?>
<?php elseif ($hosts->hasMore()): ?> <?php elseif ($hosts->hasMore()): ?>
<?= $this->qlink( <div class="text-right">
$this->translate('Show More'), <?= $this->qlink(
$this->url()->without(array('view', 'limit')), $this->translate('Show More'),
null, $this->url()->without(array('view', 'limit')),
array( null,
'data-base-target' => '_next', array(
'class' => 'pull-right action-link' 'data-base-target' => '_next',
) 'class' => 'action-link'
) ?> )
) ?>
</div>
<?php endif ?> <?php endif ?>
</div> </div>