Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
fa4d41bf
Commit
fa4d41bf
authored
Dec 14, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render with new partials
parent
01876ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
app/views/projects/ci/pipelines/_pipeline.html.haml
app/views/projects/ci/pipelines/_pipeline.html.haml
+19
-18
No files found.
app/views/projects/ci/pipelines/_pipeline.html.haml
View file @
fa4d41bf
...
@@ -43,27 +43,28 @@
...
@@ -43,27 +43,28 @@
%td
.stage-cell
%td
.stage-cell
-
pipeline
.
stages
.
each
do
|
stage
|
-
pipeline
.
stages
.
each
do
|
stage
|
-
if
stage
.
status
-
if
stage
.
status
-
status
=
ci_label_for_status
(
stage
.
detailed_status
)
-
detailed_status
=
stage
.
detailed_status
(
current_user
)
-
details_path
=
detailed_status
.
details_path
if
detailed_status
.
has_details?
-
klass
=
"has-tooltip ci-status-icon ci-status-icon-
#{
detailed_status
}
"
-
hasMultipleBuilds
=
stage
.
statuses
.
count
>
1
-
hasMultipleBuilds
=
stage
.
statuses
.
count
>
1
-
tooltip
=
"
#{
stage
.
name
.
titleize
}
:
#{
stage
.
status
||
'not found'
}
"
-
tooltip
=
"
#{
stage
.
name
.
titleize
}
:
#{
stage
.
status
||
'not found'
}
"
-
if
status
.stage-container
.stage-container
-
if
hasMultipleBuilds
-
if
hasMultipleBuilds
.dropdown.inline.build-content
.dropdown.inline
%button
.dropdown-menu-toggle.has-tooltip
{
id:
"dropdown-#{stage.name}"
,
title:
tooltip
,
class:
klass
,
"data-toggle"
=>
"dropdown"
,
"aria-haspopup"
=>
"true"
,
"aria-expanded"
=>
"false"
}
%a
.dropdown-toggle.builds-dropdown
{
id:
"dropdown-#{stage.name}"
,
title:
tooltip
,
class:
"has-tooltip ci-status-icon-#{stage.status}"
,
"data-toggle"
=>
"dropdown"
,
"aria-haspopup"
=>
"true"
,
"aria-expanded"
=>
"false"
}
=
custom_icon
(
detailed_status
.
icon
)
=
ci_icon_for_status
(
stage
.
detailed_status
)
=
icon
(
'caret-down'
,
class:
'dropdown-caret'
)
=
icon
(
'caret-down'
,
class:
'dropdown-caret'
)
.dropdown-menu.grouped-pipeline-dropdown
{
"aria-labelledby"
=>
"dropdown-#{stage.name}"
}
.dropdown-menu.grouped-pipeline-dropdown
{
"aria-labelledby"
=>
"dropdown-#{stage.name}"
}
.arrow
.arrow
%ul
%ul
-
stage
.
statuses
.
each
do
|
status
|
-
stage
.
statuses
.
each
do
|
status
|
%li
%li
=
render
'ci/status/graph_badge'
,
subject:
status
=
ci_icon_for_status
(
status
)
-
else
-# =render 'ci/status/icon_with_name_and_action', subject: status
-
if
details_path
-
else
=
link_to
details_path
,
class:
klass
,
title:
tooltip
do
=
link_to
namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
,
anchor:
stage
.
name
),
class:
"has-tooltip ci-status-icon-
#{
stage
.
status
}
"
,
title:
tooltip
do
=
custom_icon
(
detailed_status
.
icon
)
=
ci_icon_for_status
(
stage
.
detailed_status
)
%td
%td
-
if
pipeline
.
duration
-
if
pipeline
.
duration
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment