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

Merge branch '6567-add-groupname' into 'master'

add group name in overview

See merge request !58
parents 6caec0f3 62de8631
Branches
No related tags found
1 merge request!58add group name in overview
Pipeline #1659 passed
...@@ -127,7 +127,6 @@ class projectlist extends base{ ...@@ -127,7 +127,6 @@ class projectlist extends base{
'id'=>$sPrjGroup, 'id'=>$sPrjGroup,
'count'=>1 'count'=>1
]; ];
// $sPrjGroupFilter.='<option value="' . $sPrjGroup . '">' . $oPrj->getProjectGroupLabel() . '</option>';
} else { } else {
$aPrjGroups[$sPrjLabel]['count']++; $aPrjGroups[$sPrjLabel]['count']++;
} }
...@@ -136,6 +135,7 @@ class projectlist extends base{ ...@@ -136,6 +135,7 @@ class projectlist extends base{
$sErrors.=$oPrj->renderErrorBoxes(); $sErrors.=$oPrj->renderErrorBoxes();
/*
$sOut2 .= '<div class="' . $sClasses . ' prjbox"><div class="title">' $sOut2 .= '<div class="' . $sClasses . ' prjbox"><div class="title">'
.$oHtml->getLink(array( .$oHtml->getLink(array(
'href'=>'#', 'href'=>'#',
...@@ -145,6 +145,7 @@ class projectlist extends base{ ...@@ -145,6 +145,7 @@ class projectlist extends base{
'icon'=>'filter', 'icon'=>'filter',
'label'=>t("overview-filter") 'label'=>t("overview-filter")
)) ))
. '<span class="float-right">'.$sPrjGroup.' </span>'
.'<strong>' .'<strong>'
.$oHtml->getLink(array( .$oHtml->getLink(array(
'href'=>'/deployment/' . $sPrj . '/', 'href'=>'/deployment/' . $sPrj . '/',
...@@ -160,6 +161,8 @@ class projectlist extends base{ ...@@ -160,6 +161,8 @@ class projectlist extends base{
. $oPrj->getDescription() . $oPrj->getDescription()
. '<br>' . '<br>'
. ''; . '';
*/
// render output // render output
$sOut.=' $sOut.='
...@@ -167,6 +170,7 @@ class projectlist extends base{ ...@@ -167,6 +170,7 @@ class projectlist extends base{
. 'ondblclick="location.href=\'/deployment/' . $sPrj . '/\'" ' . 'ondblclick="location.href=\'/deployment/' . $sPrj . '/\'" '
. 'title="'.sprintf(t("overview-hint-dblclick"),$sPrj).'"> . 'title="'.sprintf(t("overview-hint-dblclick"),$sPrj).'">
<td class="prj"> <td class="prj">
<span class="float-right">'.$sPrjGroup.'</span>
<strong>' <strong>'
.$oHtml->getLink(array( .$oHtml->getLink(array(
'href'=>'/deployment/' . $sPrj . '/', 'href'=>'/deployment/' . $sPrj . '/',
...@@ -192,13 +196,13 @@ class projectlist extends base{ ...@@ -192,13 +196,13 @@ class projectlist extends base{
. '<td class="prj">'; . '<td class="prj">';
if ($oPrj->canAcceptPhase()) { if ($oPrj->canAcceptPhase()) {
$sOut .=$oPrj->renderLink("build"); $sOut .=$oPrj->renderLink("build");
$sOut2.=$oPrj->renderLink("build"); // $sOut2.=$oPrj->renderLink("build");
// $sOut.='<a href="/deployment/'.$sPrj.'/build/" class="btn btn-default '.$sNext.'"><i class=" icon-forward"></i> Build f&uuml;r ['.$sNext.']</a><br>'; // $sOut.='<a href="/deployment/'.$sPrj.'/build/" class="btn btn-default '.$sNext.'"><i class=" icon-forward"></i> Build f&uuml;r ['.$sNext.']</a><br>';
} }
$sOut.='</td> $sOut.='</td>
' . $sOutPhases . ' ' . $sOutPhases . '
</tr>'; </tr>';
$sOut2.=$sOutPhases2 . '</div></div>'; // $sOut2.=$sOutPhases2 . '</div></div>';
} }
if ($sOut) { if ($sOut) {
$sRowHead1 = ''; $sRowHead1 = '';
...@@ -538,13 +542,17 @@ class projectlist extends base{ ...@@ -538,13 +542,17 @@ class projectlist extends base{
</div> </div>
<br> <br>
'.$sErrors.' '.$sErrors
/*
.'
<div class="view viewsimple"> <div class="view viewsimple">
' . $sOut2 . ' ' . $sOut2 . '
<div style="clear: both;"></div> <div style="clear: both;"></div>
<br> <br>
</div> </div>'
*/
.'
<table class="table view viewextended" id="tbloverview"> <table class="table view viewextended" id="tbloverview">
<thead> <thead>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment