BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
22 deletions
+2
-22
_graph_icon_with_name.html.haml
app/views/ci/status/_graph_icon_with_name.html.haml
+0
-12
_graph_icon_with_name_and_action.html.haml
...iews/ci/status/_graph_icon_with_name_and_action.html.haml
+0
-8
_graph.html.haml
app/views/projects/stage/_graph.html.haml
+1
-1
_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 @@
%li
.build
.curve
.build-content
=
render
'ci/status/
graph_
icon_with_name_and_action'
,
subject:
status
=
render
'ci/status/icon_with_name_and_action'
,
subject:
status
-
else
%li
.build
.curve
...
...
app/views/projects/stage/_in_stage_group.html.haml
View file @
a06016d0
...
...
@@ -10,4 +10,4 @@
%ul
-
subject
.
each
do
|
status
|
%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