parent
7add16751b
commit
64f00940b1
|
@ -189,16 +189,19 @@ class ConfigController extends ActionController
|
|||
'url' => $this->getRequest()->getUrl(),
|
||||
))->activate('file');
|
||||
|
||||
if ($fileOnly) {
|
||||
$tabs->remove('config');
|
||||
if ($tabs->has('deployment')) {
|
||||
$tabs->remove('deployment');
|
||||
}
|
||||
$params = $this->getConfigTabParams();
|
||||
if ('deployment' === $this->params->get('backTo')) {
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->translate('back'),
|
||||
'director/deployment',
|
||||
array('id' => $params['deployment_id']),
|
||||
array('class' => 'icon-left-big')
|
||||
);
|
||||
} else {
|
||||
$this->view->addLink = $this->view->qlink(
|
||||
$this->translate('back'),
|
||||
'director/config/files',
|
||||
$this->getConfigTabParams(),
|
||||
$params,
|
||||
array('class' => 'icon-left-big')
|
||||
);
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ class StartupLogRenderer
|
|||
'config_checksum' => $deploymentLog->getConfigHexChecksum(),
|
||||
'deployment_id' => $deploymentLog->get('id'),
|
||||
'file_path' => $filename,
|
||||
'fileOnly' => true,
|
||||
'backTo' => 'deployment'
|
||||
);
|
||||
if ($lineNumber !== null) {
|
||||
$params['highlight'] = $lineNumber;
|
||||
|
@ -90,7 +90,6 @@ class StartupLogRenderer
|
|||
'director/config/file',
|
||||
$params,
|
||||
array(
|
||||
'data-base-target' => '_next',
|
||||
'title' => $stageDir . $filename
|
||||
)
|
||||
) . $suffix;
|
||||
|
|
Loading…
Reference in New Issue