Show downtime schedule times before creation time

This commit is contained in:
Eric Lippmann 2019-07-11 13:10:58 +02:00
parent ba6b8c04ec
commit fe3a51937a

View File

@ -87,10 +87,10 @@ if (empty($object->comments) && ! $addLink) {
$downtime->author_name $downtime->author_name
)) ?> )) ?>
<span class="comment-time"> <span class="comment-time">
<?= $state ?>
<span aria-hidden="true">&#448;</span>
<?= $this->translate('created') ?> <?= $this->translate('created') ?>
<?= $this->timeAgo($downtime->entry_time) ?> <?= $this->timeAgo($downtime->entry_time) ?>
<span aria-hidden="true">&#448;</span>
<?= $state ?>
</span> </span>
<?php if (isset($delDowntimeForm)) { <?php if (isset($delDowntimeForm)) {
// Form is unset if the current user lacks the respective permission // Form is unset if the current user lacks the respective permission