diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-08-26 17:34:21 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-08-29 13:50:46 -0500 |
commit | 3e1467ecdbea94dddd4ddaf167ebdcd87de76497 (patch) | |
tree | a1f5b8074f0b3233bf141e244972adffef8cc25b | |
parent | 19e58c9c9246c8c60f3ce6f508b3f8afc165a292 (diff) | |
download | gitlab-ce-3e1467ecdbea94dddd4ddaf167ebdcd87de76497.tar.gz |
Keep CI icons being clickable21123-pipeline-graph-link
3 files changed, 14 insertions, 6 deletions
diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index 743fe89a9f4..0dcf61dd2dd 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -319,6 +319,14 @@ a { color: $layout-link-gray; + text-decoration: none; + + &:hover { + .ci-status-text { + text-decoration: underline; + } + } + } } diff --git a/app/views/projects/ci/builds/_build_pipeline.html.haml b/app/views/projects/ci/builds/_build_pipeline.html.haml index b399811db1c..36fb0300aeb 100644 --- a/app/views/projects/ci/builds/_build_pipeline.html.haml +++ b/app/views/projects/ci/builds/_build_pipeline.html.haml @@ -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) diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml index 584c0fa18ae..31d40f6ad03 100644 --- a/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml +++ b/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml @@ -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 |