start <= time() && ! $downtime->is_in_effect): ?>
translate('ENDS', 'Downtime status'); ?>
timeUntil($downtime->is_flexible ? $downtime->scheduled_end : $downtime->end, $this->compact, true) ?>
is_in_effect ? $this->translate('EXPIRES', 'Downtime status') : $this->translate('STARTS', 'Downtime status'); ?>
timeUntil($downtime->is_in_effect ? $downtime->end : $downtime->start, $this->compact, true) ?>
'; echo sprintf( $this->translate('%s on %s', 'service on host'), $this->qlink( $downtime->service_display_name, 'monitoring/service/show', [ 'host' => $downtime->host_name, 'service' => $downtime->service_description ], [ 'title' => sprintf( $this->translate('Show detailed information for service %s on host %s'), $downtime->service_display_name, $downtime->host_display_name ) ] ), $this->qlink( $downtime->host_display_name, 'monitoring/host/show', ['host' => $downtime->host_name], [ 'title' => sprintf( $this->translate('Show detailed information for host %s'), $downtime->host_display_name ) ] ) ); echo ''; } else { echo $this->qlink( $downtime->host_display_name, 'monitoring/host/show', array('host' => $downtime->host_name, 'downtime_id' => $downtime->id), array( 'title' => sprintf( $this->translate('Show detailed information for this downtime scheduled for host %s'), $downtime->host_display_name ) ) ); } ?> escape(sprintf( $downtime->is_flexible ? $this->translate('Flexible downtime by %s') : $this->translate('Fixed downtime by %s'), $downtime->author_name )) ?> is_in_effect && $downtime->start >= time()): ?> translate('expires %s'), $this->timeUntil($downtime->is_flexible ? $downtime->scheduled_end : $downtime->end, false, true)) ?> is_flexible): ?> icon('magic', $this->translate('This downtime is flexible')); ?> is_in_effect): ?> icon('plug', $this->translate('This downtime is in effect')); ?> setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action dont-print'); $deleteButton->populate( array( 'downtime_id' => $downtime->id, 'downtime_is_service' => isset($downtime->service_description), 'downtime_name' => $downtime->name ) ); $deleteButton->getElement('btn_submit') ->setAttrib('aria-label', $this->translate('Delete downtime')) ->setAttrib('id', $buttonId) ->setAttrib('aria-describedby', $buttonId . ' ' . $textId); echo $deleteButton; } ?>
nl2br($this->markdown($downtime->comment, isset($textId) ? ['id' => $textId] : null)) ?>