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

simplify project overview

parent e4522513
No related branches found
No related tags found
1 merge request!62V2.0
......@@ -212,6 +212,7 @@ function getTopNavLeft($aEmbed = [])
$aPrjChildren[] = ['label' => '-'];
}
$aPrjChildren[] = ['href' => $sBaseUrl . $sCurrentProject . '/setup/', 'label' => t("menu-project-settings"), 'icon' => $oHtml->getIconClass('setup'), 'class' => ($sCurrentAction === 'setup' ? 'active' : '')];
$aPrjChildren[] = ['label'=> '-'];
$aPrjChildren[] = ['href' => $sBaseUrl . $sCurrentProject . '/cleanup/', 'label' => t("menu-project-cleanup"), 'icon' => $oHtml->getIconClass('cleanup'), 'class' => ($sCurrentAction === 'cleanup' ? 'active' : '')];
$aPrjChildren[] = ['href' => $sBaseUrl . $sCurrentProject . '/delete/', 'label' => t("menu-project-delete"), 'icon' => $oHtml->getIconClass('delete'), 'class' => ($sCurrentAction === 'delete' ? 'active' : '')];
......
......@@ -91,7 +91,10 @@ if (!array_key_exists("prj", $aParams)) {
$sOut = '
<span style="float: right">
'
.$oPrj->renderLink("setup")
.'</span><h3>'.t('overview-label').'</h3>'
.$renderAdminLTE->getTabbedContent(['tabs'=>$aTabdata])
;
......@@ -106,6 +109,14 @@ if (!array_key_exists("prj", $aParams)) {
}
$BODY=
$renderAdminLTE->addRow(
$renderAdminLTE->addCol(
$renderAdminLTE->getCard([
'type'=>'gray',
'variant'=>'outline',
'text'=>$sOut,
]), 12
)
/*
$renderAdminLTE->addCol(
$renderAdminLTE->getCard([
'type'=>'gray',
......@@ -129,7 +140,7 @@ if (!array_key_exists("prj", $aParams)) {
)
]), 2
)
*/
);
// $sOut.='<div id="navbuttom">' . aGotop() . aHome() . '</div>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment