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
Boxiang Sun
gitlab-ce
Commits
3e1467ec
Commit
3e1467ec
authored
Aug 26, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep CI icons being clickable
parent
19e58c9c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+8
-0
app/views/projects/ci/builds/_build_pipeline.html.haml
app/views/projects/ci/builds/_build_pipeline.html.haml
+4
-4
app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
...commit_statuses/_generic_commit_status_pipeline.html.haml
+2
-2
No files found.
app/assets/stylesheets/pages/pipelines.scss
View file @
3e1467ec
...
@@ -319,6 +319,14 @@
...
@@ -319,6 +319,14 @@
a
{
a
{
color
:
$layout-link-gray
;
color
:
$layout-link-gray
;
text-decoration
:
none
;
&
:hover
{
.ci-status-text
{
text-decoration
:
underline
;
}
}
}
}
}
}
...
...
app/views/projects/ci/builds/_build_pipeline.html.haml
View file @
3e1467ec
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
.curve
.curve
.build-content
.build-content
-
if
is_playable
-
if
is_playable
=
render_status_with_link
(
'build'
,
'play'
)
=
link_to
play_namespace_project_build_path
(
subject
.
project
.
namespace
,
subject
.
project
,
subject
,
return_to:
request
.
original_url
),
method: :post
,
title:
'Play'
do
=
link_to
play_namespace_project_build_path
(
subject
.
project
.
namespace
,
subject
.
project
,
subject
,
return_to:
request
.
original_url
),
method: :post
,
title:
'Play'
do
=
subject
.
name
=
render_status_with_link
(
'build'
,
'play'
)
%span
.ci-status-text
=
subject
.
name
-
elsif
can?
(
current_user
,
:read_build
,
@project
)
-
elsif
can?
(
current_user
,
:read_build
,
@project
)
=
render_status_with_link
(
'build'
,
subject
.
status
)
=
link_to
namespace_project_build_path
(
subject
.
project
.
namespace
,
subject
.
project
,
subject
)
do
=
link_to
namespace_project_build_path
(
subject
.
project
.
namespace
,
subject
.
project
,
subject
)
do
=
subject
.
name
=
render_status_with_link
(
'build'
,
subject
.
status
)
%span
.ci-status-text
=
subject
.
name
-
else
-
else
=
render_status_with_link
(
'build'
,
subject
.
status
)
=
render_status_with_link
(
'build'
,
subject
.
status
)
=
ci_icon_for_status
(
subject
.
status
)
=
ci_icon_for_status
(
subject
.
status
)
app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
View file @
3e1467ec
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
-
if
subject
.
target_url
-
if
subject
.
target_url
-
link_to
subject
.
target_url
do
-
link_to
subject
.
target_url
do
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
=
subject
.
name
%span
.ci-status-text
=
subject
.
name
-
else
-
else
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
=
subject
.
name
%span
.ci-status-text
=
subject
.
name
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