From e29c761d04259f5b49cc49c67539d24dad361fcd Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Wed, 7 Feb 2024 16:55:41 +0100 Subject: [PATCH] project setup button next to "overview" --- public_html/deployment/classes/project_gui.class.php | 2 +- public_html/deployment/pages/act_overview.php | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/public_html/deployment/classes/project_gui.class.php b/public_html/deployment/classes/project_gui.class.php index 446375cb..c995d6d3 100644 --- a/public_html/deployment/classes/project_gui.class.php +++ b/public_html/deployment/classes/project_gui.class.php @@ -358,7 +358,7 @@ class projectgui extends project { 'setup' => array('class' => $sPhase, 'hint' => sprintf(t('setup-hint'), $sPhase, $sVersion), 'label' => t('setup'), - 'class' => 'btn-primary' + 'class' => 'btn' ), ); /* diff --git a/public_html/deployment/pages/act_overview.php b/public_html/deployment/pages/act_overview.php index f4cfa288..3588e39c 100644 --- a/public_html/deployment/pages/act_overview.php +++ b/public_html/deployment/pages/act_overview.php @@ -89,12 +89,8 @@ if (!array_key_exists("prj", $aParams)) { ; } - $sOut = ' - - <span style="float: right"> - ' - .$oPrj->renderLink("setup") - .'</span><h3>'.t('overview-label').'</h3>' + $sOut = '' + .'<h3>'.t('overview-label').' '.$oPrj->renderLink("setup").'</h3>' .$renderAdminLTE->getTabbedContent(['tabs'=>$aTabdata]) ; -- GitLab