$view->config_checksum, 'file_path' => $match[4], 'deployment_id' => $view->deployment->id, 'fileOnly' => true, ); if (isset($match[5])) { $params['highlight'] = $match[5]; $params['highlightSeverity'] = $match[1]; $suffix = ': ' . $match[5]; } else { $suffix = ''; } return sprintf( '>%s%s', $match[1] . $match[2], $view->qlink( $match[3] . $match[4], 'director/config/file', $params, array('data-base-target' => '_next') ) ) . $suffix; }; function colorize($log, $logLink) { $log = preg_replace( '/^(debug|notice|information|warning|critical)\/(\w+)/m', '\1/\2', $log ); $log = preg_replace('/([\^]{2,})/', '\1', $log); $log = preg_replace_callback( '~\>(information)(\<.+ )' . '(/.+?/api/packages/director/[^/]+/)([^:]+\.conf)$~m', $logLink, $log ); $log = preg_replace_callback( '~\>(critical|warning)(\<[^\n]+?\n?[^\n]+?in )' . '(/.+?/api/packages/director/[^/]+/)([^:]+\.conf): (\d+)~m', $logLink, $log ); return $log; } ?>
tabs ?>

escape($this->title) ?>

translate('Deployment time') ?> start_time ?>
translate('Sent to') ?> peer_identity ?>
translate('Configuration') ?> qlink( sprintf( $this->translate('%d files'), $this->config->getFileCount() ), 'director/config/files', array( 'checksum' => $config_checksum, 'deployment_id' => $deployment->id ) ) ?>, translate('%d objects, %d templates'), $config->getObjectCount(), $config->getTemplateCount() )?>, getSize()) ?>
translate('Duration') ?> translate('Rendered in %0.2fs, deployed in %0.2fs'), $config->getDuration() / 1000, $deployment->duration_dump / 1000 ) ?>
translate('Stage name') ?> stage_name ?>
translate('Startup') ?> startup_succeeded === null) { if ($deployment->stage_collected === null) { echo $this->translate('Unknown, still waiting for config check outcome') . ' ' . $this->icon('spinner'); } else { echo $this->translate('Unknown, failed to collect related information') . ' ' . $this->icon('help'); } } elseif ($deployment->startup_succeeded === 'y') { echo '
'; echo $this->translate('Succeeded') . ' ' . $this->icon('ok'); echo '
'; } else { echo '
'; echo $this->translate('Failed') . ' ' . $this->icon('cancel'); echo '
'; } ?>
startup_succeeded !== null): ?>

Startup log

escape($deployment->startup_log),
    $logLink
) ?>