Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Imldeployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment
Commits
6796c5c3
Commit
6796c5c3
authored
Jul 26, 2023
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Plain Diff
Merge branch '6567-add-groupname' into 'master'
add group name in overview See merge request
!58
parents
6caec0f3
62de8631
Branches
Branches containing commit
No related tags found
1 merge request
!58
add group name in overview
Pipeline
#1659
passed
Jul 26, 2023
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public_html/deployment/classes/projectlist.class.php
+14
-6
14 additions, 6 deletions
public_html/deployment/classes/projectlist.class.php
with
14 additions
and
6 deletions
public_html/deployment/classes/projectlist.class.php
+
14
−
6
View file @
6796c5c3
...
@@ -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ür ['.$sNext.']</a><br>';
// $sOut.='<a href="/deployment/'.$sPrj.'/build/" class="btn btn-default '.$sNext.'"><i class=" icon-forward"></i> Build fü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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment