Show every downtime's type in the detail view of a monitored object
refs #2693
This commit is contained in:
parent
b0221c5e13
commit
31aad4d3f5
|
@ -80,7 +80,12 @@ if (empty($object->comments) && ! $addLink) {
|
|||
}
|
||||
?>
|
||||
<dt>
|
||||
<?= $this->escape($downtime->author_name) ?>
|
||||
<?= $this->escape(sprintf(
|
||||
$downtime->is_flexible
|
||||
? $this->translate('Flexible downtime by %s')
|
||||
: $this->translate('Fixed downtime by %s'),
|
||||
$downtime->author_name
|
||||
)) ?>
|
||||
<span class="comment-time">
|
||||
<?= $this->translate('created') ?>
|
||||
<?= $this->timeAgo($downtime->entry_time) ?>
|
||||
|
|
Loading…
Reference in New Issue