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
a06016d0
Commit
a06016d0
authored
Dec 13, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded partial
parent
0b9df1bd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
22 deletions
+2
-22
app/views/ci/status/_graph_icon_with_name.html.haml
app/views/ci/status/_graph_icon_with_name.html.haml
+0
-12
app/views/ci/status/_graph_icon_with_name_and_action.html.haml
...iews/ci/status/_graph_icon_with_name_and_action.html.haml
+0
-8
app/views/projects/stage/_graph.html.haml
app/views/projects/stage/_graph.html.haml
+1
-1
app/views/projects/stage/_in_stage_group.html.haml
app/views/projects/stage/_in_stage_group.html.haml
+1
-1
No files found.
app/views/ci/status/_graph_icon_with_name.html.haml
deleted
100644 → 0
View file @
0b9df1bd
-
detailed_status
=
subject
.
detailed_status
(
current_user
)
-
details_path
=
detailed_status
.
details_path
if
detailed_status
.
has_details?
-
klass
=
"ci-status-icon ci-status-icon-
#{
detailed_status
}
"
-
graph_status_icon
=
"
#{
detailed_status
.
icon
}
_graph"
-
if
details_path
=
link_to
details_path
,
class:
klass
,
data:
{
toggle:
'tooltip'
,
title:
"
#{
subject
.
name
}
-
#{
detailed_status
}
"
}
do
%span
{
class:
klass
}=
custom_icon
(
graph_status_icon
)
.ci-status-text
=
subject
.
name
-
else
%span
{
class:
klass
}=
custom_icon
(
graph_status_icon
)
.ci-status-text
=
subject
.
name
app/views/ci/status/_graph_icon_with_name_and_action.html.haml
deleted
100644 → 0
View file @
0b9df1bd
=
render
"ci/status/graph_icon_with_name"
,
subject:
subject
-
detailed_status
=
subject
.
detailed_status
(
current_user
)
-
if
detailed_status
.
has_action?
=
link_to
detailed_status
.
action_path
,
method:
detailed_status
.
action_method
,
title:
"
#{
subject
.
name
}
:
#{
detailed_status
.
action_title
}
"
,
class:
'ci-action-icon-container'
do
%i
.ci-action-icon-wrapper
=
icon
(
detailed_status
.
action_icon
,
class:
detailed_status
.
action_class
)
app/views/projects/stage/_graph.html.haml
View file @
a06016d0
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
%li
.build
%li
.build
.curve
.curve
.build-content
.build-content
=
render
'ci/status/
graph_
icon_with_name_and_action'
,
subject:
status
=
render
'ci/status/icon_with_name_and_action'
,
subject:
status
-
else
-
else
%li
.build
%li
.build
.curve
.curve
...
...
app/views/projects/stage/_in_stage_group.html.haml
View file @
a06016d0
...
@@ -10,4 +10,4 @@
...
@@ -10,4 +10,4 @@
%ul
%ul
-
subject
.
each
do
|
status
|
-
subject
.
each
do
|
status
|
%li
.dropdown-build
%li
.dropdown-build
=
render
'ci/status/
graph_
icon_with_name_and_action'
,
subject:
status
=
render
'ci/status/icon_with_name_and_action'
,
subject:
status
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