Remove superfluous <br /> after state pending in the hosts overview
This commit is contained in:
parent
19cae4b751
commit
291c6bf167
|
@ -80,13 +80,14 @@ if ($hosts->count() === 0) {
|
|||
<tr class="state <?= $hostStateName ?><?= $host->host_handled ? ' handled' : '' ?>">
|
||||
<!-- State -->
|
||||
<td class="state">
|
||||
<strong><?= Host::getStateText($host->host_state, true); ?></strong><br />
|
||||
<strong><?= Host::getStateText($host->host_state, true); ?></strong>
|
||||
<?php if ((int) $host->host_state !== 99): ?>
|
||||
<?= $this->timeSince($host->host_last_state_change) ?>
|
||||
<?php if ($host->host_state > 0 && (int) $host->host_state_type === 0): ?>
|
||||
<br />
|
||||
<strong>Soft <?= $host->host_attempt ?></strong>
|
||||
<?php endif ?>
|
||||
<br />
|
||||
<?= $this->timeSince($host->host_last_state_change) ?>
|
||||
<?php if ((int) $host->host_state > 0 && (int) $host->host_state_type === 0): ?>
|
||||
<br />
|
||||
<strong>Soft <?= $host->host_attempt ?></strong>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
|
||||
|
|
Loading…
Reference in New Issue