Add css class "action-link" to all load-more links

refs #5543
This commit is contained in:
Johannes Meyer 2015-10-01 16:43:11 +02:00
parent cb5f741f22
commit d6283f1451
3 changed files with 12 additions and 12 deletions

View File

@ -32,7 +32,7 @@ if (! $this->compact): ?>
<h1><?= $this->translate('This Host\'s Event History'); ?></h1>
<?= $this->sortBox; ?>
<?= $this->limiter; ?>
<a class="load-more-hint" href="#load-more">
<a href="#load-more">
<?= $this->translate('Scroll to the bottom of this page to load additional events'); ?>
</a>
<?= $this->filterEditor; ?>
@ -151,7 +151,7 @@ if (! $this->compact): ?>
<?php if (! $history->hasResult()): ?>
<?= $this->translate('No history events found matching the filter'); ?>
<?php elseif ($history->hasMore()): ?>
<div class="load-more-container"><?= $this->qlink(
<?= $this->qlink(
$this->translate('Load More'),
$url->setAnchor('page-' . ($page + 1)),
array(
@ -159,8 +159,8 @@ if (! $this->compact): ?>
),
array(
'id' => 'load-more',
'class' => 'pull-right load-more button-like'
'class' => 'pull-right action-link'
)
); ?></div>
); ?>
<?php endif ?>
</div>

View File

@ -18,7 +18,7 @@ if (! $this->compact): ?>
<?= $this->limiter ?>
</div>
<div class="col-1-3">
<a class="load-more-hint" href="#load-more">
<a href="#load-more">
<?= $this->translate('Scroll to the bottom of this page to load additional events'); ?>
</a>
</div>
@ -124,7 +124,7 @@ if (! $this->compact): ?>
)
); ?>
<?php else: ?>
<div class="load-more-container"><?= $this->qlink(
<?= $this->qlink(
$this->translate('Load More'),
$url->setAnchor('page-' . ($page + 1)),
array(
@ -132,9 +132,9 @@ if (! $this->compact): ?>
),
array(
'id' => 'load-more',
'class' => 'pull-right load-more button-like'
'class' => 'pull-right action-link'
)
); ?></div>
); ?>
<?php endif ?>
<?php endif ?>
</div>

View File

@ -31,7 +31,7 @@ if (! $this->compact): ?>
<h1><?= $this->translate('This Service\'s Event History'); ?></h1>
<?= $this->sortBox; ?>
<?= $this->limiter; ?>
<a class="load-more-hint" href="#load-more">
<a href="#load-more">
<?= $this->translate('Scroll to the bottom of this page to load additional events'); ?>
</a>
<?= $this->filterEditor; ?>
@ -135,7 +135,7 @@ if (! $this->compact): ?>
<?php if (! $history->hasResult()): ?>
<?= $this->translate('No history events found matching the filter'); ?>
<?php elseif ($history->hasMore()): ?>
<div class="load-more-container"><?= $this->qlink(
<?= $this->qlink(
$this->translate('Load More'),
$url->setAnchor('page-' . ($page + 1)),
array(
@ -143,8 +143,8 @@ if (! $this->compact): ?>
),
array(
'id' => 'load-more',
'class' => 'pull-right load-more button-like'
'class' => 'pull-right action-link'
)
); ?></div>
); ?>
<?php endif ?>
</div>