diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-31 19:16:36 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-31 19:16:36 +0000 |
commit | 43c575acf3e9b3b7d749a1e99bc4726e56823c4c (patch) | |
tree | 376da8c7d394c6bf941f6dd608433ecda1491115 /app/views/projects/merge_requests/widget | |
parent | d1ab9ad6152a4f41bc235bbdd8f881347bc9582b (diff) | |
parent | b61b45a7596b3f20aa1a0d264e6ba3c7af844bac (diff) | |
download | gitlab-ce-43c575acf3e9b3b7d749a1e99bc4726e56823c4c.tar.gz |
Merge branch '26982-improve-pipeline-status-icon-linking-in-widgets' into 'master'
Improve pipeline status icon linking in widgets
Closes #26982
See merge request !8705
Diffstat (limited to 'app/views/projects/merge_requests/widget')
-rw-r--r-- | app/views/projects/merge_requests/widget/_heading.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/widget/_heading.html.haml b/app/views/projects/merge_requests/widget/_heading.html.haml index 5faa6c43f9f..804a4a2473b 100644 --- a/app/views/projects/merge_requests/widget/_heading.html.haml +++ b/app/views/projects/merge_requests/widget/_heading.html.haml @@ -2,7 +2,8 @@ .mr-widget-heading - %w[success success_with_warnings skipped canceled failed running pending].each do |status| .ci_widget{ class: "ci-#{status} ci-status-icon-#{status}", style: ("display:none" unless @pipeline.status == status) } - = ci_icon_for_status(status) + = link_to namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'icon-link' do + = ci_icon_for_status(status) %span Pipeline = link_to "##{@pipeline.id}", namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'pipeline' |