Skip to content
Snippets Groups Projects
Commit 79eda527 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

small fix in project_gui

parent 1e2dd2e1
No related branches found
No related tags found
1 merge request!66php8 only; added variable types; short array syntax; remove glyphicons
This commit is part of merge request !66. Comments created here will be created in the context of that merge request.
...@@ -300,7 +300,7 @@ class projectgui extends project ...@@ -300,7 +300,7 @@ class projectgui extends project
$sLinktitle = t('error'); $sLinktitle = t('error');
$sInfos = $this->_oHtml->getBox('error', '') . '<p>' . $aInfos["error"] . '</p>'; $sInfos = $this->_oHtml->getBox('error', '') . '<p>' . $aInfos["error"] . '</p>';
} }
$sInfos .= $this->_renderHostsData($aInfos, ''); $sInfos .= $this->_renderHostsData($aInfos);
if (array_key_exists("label", $aOptions) && $aOptions["label"]) { if (array_key_exists("label", $aOptions) && $aOptions["label"]) {
$sLinktitle .= $aOptions["label"]; $sLinktitle .= $aOptions["label"];
...@@ -384,10 +384,9 @@ class projectgui extends project ...@@ -384,10 +384,9 @@ class projectgui extends project
'label' => t('rollback') 'label' => t('rollback')
], ],
'setup' => [ 'setup' => [
'class' => $sPhase, 'class' => 'btn',
'hint' => sprintf(t('setup-hint'), $sPhase, $sVersion), 'hint' => sprintf(t('setup-hint'), $sPhase, $sVersion),
'label' => t('setup'), 'label' => t('setup'),
'class' => 'btn'
], ],
]; ];
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment