mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
Use timeSince() for displaying status changes of hosts instead of prefixedTimeSince()
refs #6778
This commit is contained in:
parent
5a46821d91
commit
d5427f03ab
@ -82,7 +82,7 @@ if ($hosts->count() === 0) {
|
|||||||
<td class="state">
|
<td class="state">
|
||||||
<strong><?= Host::getStateText($host->host_state, true); ?></strong><br />
|
<strong><?= Host::getStateText($host->host_state, true); ?></strong><br />
|
||||||
<?php if ((int) $host->host_state !== 99): ?>
|
<?php if ((int) $host->host_state !== 99): ?>
|
||||||
<?= $this->prefixedTimeSince($host->host_last_state_change, true) ?>
|
<?= $this->timeSince($host->host_last_state_change) ?>
|
||||||
<?php if ($host->host_state > 0 && (int) $host->host_state_type === 0): ?>
|
<?php if ($host->host_state > 0 && (int) $host->host_state_type === 0): ?>
|
||||||
<br />
|
<br />
|
||||||
<strong>Soft <?= $host->host_attempt ?></strong>
|
<strong>Soft <?= $host->host_attempt ?></strong>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user