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
62de8631
Commit
62de8631
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
add group name in overview
parent
6caec0f3
No related branches found
No related tags found
1 merge request
!58
add group name in overview
Changes
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 @
62de8631
...
...
@@ -127,7 +127,6 @@ class projectlist extends base{
'id'
=>
$sPrjGroup
,
'count'
=>
1
];
// $sPrjGroupFilter.='<option value="' . $sPrjGroup . '">' . $oPrj->getProjectGroupLabel() . '</option>';
}
else
{
$aPrjGroups
[
$sPrjLabel
][
'count'
]
++
;
}
...
...
@@ -136,6 +135,7 @@ class projectlist extends base{
$sErrors
.
=
$oPrj
->
renderErrorBoxes
();
/*
$sOut2 .= '<div class="' . $sClasses . ' prjbox"><div class="title">'
.$oHtml->getLink(array(
'href'=>'#',
...
...
@@ -145,6 +145,7 @@ class projectlist extends base{
'icon'=>'filter',
'label'=>t("overview-filter")
))
. '<span class="float-right">'.$sPrjGroup.' </span>'
.'<strong>'
.$oHtml->getLink(array(
'href'=>'/deployment/' . $sPrj . '/',
...
...
@@ -160,6 +161,8 @@ class projectlist extends base{
. $oPrj->getDescription()
. '<br>'
. '';
*/
// render output
$sOut
.
=
'
...
...
@@ -167,6 +170,7 @@ class projectlist extends base{
.
'ondblclick="location.href=\'/deployment/'
.
$sPrj
.
'/\'" '
.
'title="'
.
sprintf
(
t
(
"overview-hint-dblclick"
),
$sPrj
)
.
'">
<td class="prj">
<span class="float-right">'
.
$sPrjGroup
.
'</span>
<strong>'
.
$oHtml
->
getLink
(
array
(
'href'
=>
'/deployment/'
.
$sPrj
.
'/'
,
...
...
@@ -192,13 +196,13 @@ class projectlist extends base{
.
'<td class="prj">'
;
if
(
$oPrj
->
canAcceptPhase
())
{
$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
.
=
'</td>
'
.
$sOutPhases
.
'
</tr>'
;
$sOut2
.
=
$sOutPhases2
.
'</div></div>'
;
//
$sOut2.=$sOutPhases2 . '</div></div>';
}
if
(
$sOut
)
{
$sRowHead1
=
''
;
...
...
@@ -538,13 +542,17 @@ class projectlist extends base{
</div>
<br>
'
.
$sErrors
.
'
'
.
$sErrors
/*
.'
<div class="view viewsimple">
' . $sOut2 . '
<div style="clear: both;"></div>
<br>
</div>
</div>'
*/
.
'
<table class="table view viewextended" id="tbloverview">
<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