mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-07 05:54:25 +02:00
parent
e1f6aee2e7
commit
bd51bed9d7
@ -42,16 +42,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
<td class="state">
|
<td class="state">
|
||||||
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
|
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
|
||||||
<br>
|
<br>
|
||||||
<?=
|
<?= $downtime->is_in_effect ? $this->timeSince($downtime->start) : $this->timeUntil($downtime->start) ?>
|
||||||
$this->dateTimeRenderer(
|
|
||||||
($downtime->is_in_effect ? $downtime->end : $downtime->start),
|
|
||||||
true
|
|
||||||
)->render(
|
|
||||||
$this->translate('on %s', 'datetime'),
|
|
||||||
$this->translate('at %s', 'time'),
|
|
||||||
$this->translate('in %s', 'timespan')
|
|
||||||
);
|
|
||||||
?>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?php if ($isService): ?>
|
<?php if ($isService): ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user