Commit 3e1467ec authored by Alfredo Sumaran's avatar Alfredo Sumaran

Keep CI icons being clickable

parent 19e58c9c
......@@ -319,6 +319,14 @@
a {
color: $layout-link-gray;
text-decoration: none;
&:hover {
.ci-status-text {
text-decoration: underline;
}
}
}
}
......
......@@ -3,13 +3,13 @@
.curve
.build-content
- 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
= subject.name
= render_status_with_link('build', 'play')
%span.ci-status-text= subject.name
- 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
= subject.name
= render_status_with_link('build', subject.status)
%span.ci-status-text= subject.name
- else
= render_status_with_link('build', subject.status)
= ci_icon_for_status(subject.status)
......@@ -3,7 +3,7 @@
- if subject.target_url
- link_to subject.target_url do
= render_status_with_link('commit status', subject.status)
= subject.name
%span.ci-status-text= subject.name
- else
= render_status_with_link('commit status', subject.status)
= subject.name
%span.ci-status-text= subject.name
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment