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
Jérome Perrin
gitlab-ce
Commits
83ebc97b
Commit
83ebc97b
authored
Dec 15, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds new partial for borderless mini graph icons
parent
7bfe8724
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/views/ci/status/_mini_graph_badge.html.haml
app/views/ci/status/_mini_graph_badge.html.haml
+6
-0
app/views/projects/ci/pipelines/_pipeline.html.haml
app/views/projects/ci/pipelines/_pipeline.html.haml
+2
-2
No files found.
app/views/ci/status/_mini_graph_badge.html.haml
0 → 100644
View file @
83ebc97b
-
status
=
subject
.
detailed_status
(
current_user
)
-
icon
=
"
#{
status
.
icon
}
_borderless"
-
klass
=
"ci-status-icon ci-status-icon-
#{
status
}
"
%span
.mini-pipeline-graph-icon-container
%span
{
class:
klass
}=
custom_icon
(
icon
)
app/views/projects/ci/pipelines/_pipeline.html.haml
View file @
83ebc97b
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
.dropdown.inline.build-content
.dropdown.inline.build-content
%button
.has-tooltip.builds-dropdown
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
title:
tooltip
}
}
%button
.has-tooltip.builds-dropdown
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
title:
tooltip
}
}
%span
{
class:
klass
}
%span
{
class:
klass
}
=
ci_icon_for_status
(
detailed_status
.
icon
)
=
render
'ci/status/mini_graph_badge'
,
subject:
stage
%span
=
icon
(
'caret-down'
,
class:
'dropdown-caret'
)
%span
=
icon
(
'caret-down'
,
class:
'dropdown-caret'
)
.dropdown-menu.grouped-pipeline-dropdown
.dropdown-menu.grouped-pipeline-dropdown
.arrow-up
.arrow-up
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
-
else
-
else
-
if
details_path
-
if
details_path
=
link_to
details_path
,
class:
klass
,
title:
tooltip
do
=
link_to
details_path
,
class:
klass
,
title:
tooltip
do
=
custom_icon
(
detailed_status
.
icon
)
=
render
'ci/status/mini_graph_badge'
,
subject:
stage
%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