start <= time() && ! $downtime->is_in_effect): ?>
= $this->translate('Ends'); ?>
= $this->timeUntil($downtime->is_flexible ? $downtime->scheduled_end : $downtime->end, $this->compact) ?> = $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?> = $this->timeUntil($downtime->is_in_effect ? $downtime->end : $downtime->start, $this->compact) ?> |
isService): ?>
= $this->icon('service', $this->translate('Service')) ?>
= $this->link()->service(
$downtime->service_description,
$downtime->service_display_name,
$downtime->host_name,
$downtime->host_display_name
); ?>
= $this->icon('host', $this->translate('Host')) ?>
= $this->link()->host($downtime->host_name, $downtime->host_display_name); ?>
is_flexible): ?> is_in_effect): ?> = sprintf( $downtime->isService ? $this->translate('This flexible service downtime was started on %s at %s and lasts for %s until %s at %s.') : $this->translate('This flexible host downtime was started on %s at %s and lasts for %s until %s at %s.'), $this->formatDate($downtime->start), $this->formatTime($downtime->start), $this->formatDuration($downtime->duration), $this->formatDate($downtime->end), $this->formatTime($downtime->end) ); ?> = sprintf( $downtime->isService ? $this->translate('This flexible service downtime has been scheduled to start between %s - %s and to last for %s.') : $this->translate('This flexible host downtime has been scheduled to start between %s - %s and to last for %s.'), $this->formatDateTime($downtime->scheduled_start), $this->formatDateTime($downtime->scheduled_end), $this->formatDuration($downtime->duration) ); ?> is_in_effect): ?> = sprintf( $downtime->isService ? $this->translate('This fixed service downtime was started on %s at %s and expires on %s at %s.') : $this->translate('This fixed host downtime was started on %s at %s and expires on %s at %s.'), $this->formatDate($downtime->start), $this->formatTime($downtime->start), $this->formatDate($downtime->end), $this->formatTime($downtime->end) ); ?> = sprintf( $downtime->isService ? $this->translate('This fixed service downtime has been scheduled to start on %s at %s and to end on %s at %s.') : $this->translate('This fixed host downtime has been scheduled to start on %s at %s and to end on %s at %s.'), $this->formatDate($downtime->scheduled_start), $this->formatTime($downtime->scheduled_start), $this->formatDate($downtime->scheduled_end), $this->formatTime($downtime->scheduled_end) ); ?> |
= $this->qlink( sprintf($this->translate('List all %d downtimes'), $i), $listAllLink, null, array( 'icon' => 'down-open', 'data-base-target' => "_next" ) ) ?>