parent
aa7adee21f
commit
f0cabf059a
|
@ -38,7 +38,7 @@ if (! $this->compact): ?>
|
|||
<?php if ($downtime->start <= time() && ! $downtime->is_in_effect): ?>
|
||||
<strong><?= $this->translate('Started'); ?></strong>
|
||||
<br>
|
||||
Ends <?= $this->timeUntil($downtime->end, $this->compact) ?>
|
||||
<?= sprintf($this->translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?>
|
||||
<?php else: ?>
|
||||
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
|
||||
<br>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<?php if ($downtime->start <= time() && ! $downtime->is_in_effect): ?>
|
||||
<strong><?= $this->translate('Started'); ?></strong>
|
||||
<br>
|
||||
Ends <?= $this->timeUntil($downtime->end, $this->compact) ?>
|
||||
<?= sprintf($this->translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?>
|
||||
<?php else: ?>
|
||||
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
|
||||
<br>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<?php if ($downtime->start <= time() && ! $downtime->is_in_effect): ?>
|
||||
<strong><?= $this->translate('Started'); ?></strong>
|
||||
<br>
|
||||
Ends <?= $this->timeUntil($downtime->end, $this->compact) ?>
|
||||
<?= sprintf($this->translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?>
|
||||
<?php else: ?>
|
||||
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue