monitoring: Remove trailing semicolon from inline echo tags in the list/hosts view script
refs #5543
This commit is contained in:
parent
27f3dd94d2
commit
a87dde9e03
|
@ -5,17 +5,17 @@ $hosts->peekAhead($this->compact);
|
||||||
|
|
||||||
if (! $this->compact): ?>
|
if (! $this->compact): ?>
|
||||||
<div class="controls separated">
|
<div class="controls separated">
|
||||||
<?= $this->tabs; ?>
|
<?= $this->tabs ?>
|
||||||
<div class="dontprint">
|
<div class="dontprint">
|
||||||
<?= $this->render('list/components/selectioninfo.phtml'); ?>
|
<?= $this->render('list/components/selectioninfo.phtml') ?>
|
||||||
<h2 class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>
|
<h2 class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : '' ?>
|
||||||
<?= $this->render('list/components/hostssummary.phtml'); ?>
|
<?= $this->render('list/components/hostssummary.phtml') ?>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<?= $this->sortBox; ?>
|
<?= $this->sortBox ?>
|
||||||
<?= $this->limiter; ?>
|
<?= $this->limiter ?>
|
||||||
<?= $this->paginator; ?>
|
<?= $this->paginator ?>
|
||||||
<?= $this->filterEditor; ?>
|
<?= $this->filterEditor ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
@ -37,7 +37,7 @@ if (! $this->compact): ?>
|
||||||
<tr class="state <?= $hostStateName ?><?= $host->host_handled ? ' handled' : '' ?>">
|
<tr class="state <?= $hostStateName ?><?= $host->host_handled ? ' handled' : '' ?>">
|
||||||
<!-- State -->
|
<!-- State -->
|
||||||
<td class="state">
|
<td class="state">
|
||||||
<strong><?= Host::getStateText($host->host_state, true); ?></strong>
|
<strong><?= Host::getStateText($host->host_state, true) ?></strong>
|
||||||
<?php if ((int) $host->host_state !== 99): ?>
|
<?php if ((int) $host->host_state !== 99): ?>
|
||||||
<br />
|
<br />
|
||||||
<?= $this->timeSince($host->host_last_state_change, $this->compact) ?>
|
<?= $this->timeSince($host->host_last_state_change, $this->compact) ?>
|
||||||
|
@ -60,7 +60,7 @@ if (! $this->compact): ?>
|
||||||
'title' => sprintf($this->translate('Show detailed information for host %s'), $host->host_display_name),
|
'title' => sprintf($this->translate('Show detailed information for host %s'), $host->host_display_name),
|
||||||
'class' => 'rowaction'
|
'class' => 'rowaction'
|
||||||
)
|
)
|
||||||
); ?>
|
) ?>
|
||||||
<?php if (isset($summary[$host->host_name])): ?>
|
<?php if (isset($summary[$host->host_name])): ?>
|
||||||
<span> (<?= $this->qlink(
|
<span> (<?= $this->qlink(
|
||||||
sprintf(
|
sprintf(
|
||||||
|
@ -97,7 +97,7 @@ if (! $this->compact): ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?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(
|
<?= $this->qlink(
|
||||||
$this->translate('Show More'),
|
$this->translate('Show More'),
|
||||||
|
@ -107,6 +107,6 @@ if (! $this->compact): ?>
|
||||||
'data-base-target' => '_next',
|
'data-base-target' => '_next',
|
||||||
'class' => 'pull-right show-more'
|
'class' => 'pull-right show-more'
|
||||||
)
|
)
|
||||||
); ?>
|
) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue