monitoring: Remove trailing semicolon from inline echo statements in the event history overview

This commit is contained in:
Eric Lippmann 2015-11-03 09:22:42 +01:00
parent 6b0e5be05d
commit a9ce9ff414
1 changed files with 11 additions and 11 deletions

View File

@ -12,21 +12,21 @@ $history->limit($limit * $page);
if (! $this->compact): ?> if (! $this->compact): ?>
<div class="controls dont-print separated"> <div class="controls dont-print separated">
<?= $this->tabs; ?> <?= $this->tabs ?>
<div class="grid"> <div class="grid">
<div class="col-1-3 text-left"> <div class="col-1-3 text-left">
<?= $this->limiter ?> <?= $this->limiter ?>
</div> </div>
<div class="col-1-3"> <div class="col-1-3">
<a class="action-link" href="#load-more"> <a class="action-link" href="#load-more">
<?= $this->translate('Scroll to the bottom of this page to load additional events'); ?> <?= $this->translate('Scroll to the bottom of this page to load additional events') ?>
</a> </a>
</div> </div>
<div class="col-1-3 text-right"> <div class="col-1-3 text-right">
<?= $this->sortBox ?> <?= $this->sortBox ?>
</div> </div>
</div> </div>
<?= $this->filterEditor; ?> <?= $this->filterEditor ?>
</div> </div>
<?php endif ?> <?php endif ?>
<div class="content"> <div class="content">
@ -84,15 +84,15 @@ if (! $this->compact): ?>
break; break;
} ?> } ?>
<tr> <tr>
<td class="state-col state-<?= $stateName; ?>"> <td class="state-col state-<?= $stateName ?>">
<?php if ($history->getIteratorPosition() % $limit === 0): ?> <?php if ($history->getIteratorPosition() % $limit === 0): ?>
<a id="page-<?= $history->getIteratorPosition() / $limit + 1; ?>"></a> <a id="page-<?= $history->getIteratorPosition() / $limit + 1 ?>"></a>
<?php endif ?> <?php endif ?>
<strong><?= $this->escape($title); ?></strong> <strong><?= $this->escape($title) ?></strong>
<p><?= $this->timeAgo($event->timestamp, $this->compact); ?></p> <p><?= $this->timeAgo($event->timestamp, $this->compact) ?></p>
</td> </td>
<td> <td>
<?= $this->icon($icon, $title); ?> <?= $this->icon($icon, $title) ?>
<?php if ($isService): ?> <?php if ($isService): ?>
<?= $this->link()->service( <?= $this->link()->service(
$event->service_description, $event->service_display_name, $event->host_name, $event->host_display_name, 'rowaction' $event->service_description, $event->service_display_name, $event->host_name, $event->host_display_name, 'rowaction'
@ -109,7 +109,7 @@ if (! $this->compact): ?>
</tbody> </tbody>
</table> </table>
<?php if (! $history->hasResult()): ?> <?php if (! $history->hasResult()): ?>
<?= $this->translate('No history events found matching the filter'); ?> <?= $this->translate('No history events found matching the filter') ?>
<?php elseif ($history->hasMore()): ?> <?php elseif ($history->hasMore()): ?>
<?php if ($this->compact): ?> <?php if ($this->compact): ?>
<?= $this->qlink( <?= $this->qlink(
@ -120,7 +120,7 @@ if (! $this->compact): ?>
'data-base-target' => '_next', 'data-base-target' => '_next',
'class' => 'pull-right action-link' 'class' => 'pull-right action-link'
) )
); ?> ) ?>
<?php else: ?> <?php else: ?>
<?= $this->qlink( <?= $this->qlink(
$this->translate('Load More'), $this->translate('Load More'),
@ -132,7 +132,7 @@ if (! $this->compact): ?>
'id' => 'load-more', 'id' => 'load-more',
'class' => 'pull-right action-link' 'class' => 'pull-right action-link'
) )
); ?> ) ?>
<?php endif ?> <?php endif ?>
<?php endif ?> <?php endif ?>
</div> </div>