diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2016-11-29 00:08:11 +0100 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2016-11-29 00:08:11 +0100 |
commit | 7de6aee7556d53ec1b327bd6d0cb40fbd3848592 (patch) | |
tree | ec85a1ac0548f5d5594026f95f974d3c0952b9cb /app | |
parent | d90d822dd3430ca8fcabcfb56f5030db86ec85a5 (diff) | |
download | gitlab-ce-7de6aee7556d53ec1b327bd6d0cb40fbd3848592.tar.gz |
Fix pipelines info being hidden in merge request widget25055-pipelines-info-missing-from-mr-widget
We do need these "ci-#{status}" classes because we use them in
MergeRequestWidget to show correct divs.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/merge_requests/widget/_heading.html.haml | 2 |
1 files changed, 1 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 18c72ed875c..6d9b91ad0e7 100644 --- a/app/views/projects/merge_requests/widget/_heading.html.haml +++ b/app/views/projects/merge_requests/widget/_heading.html.haml @@ -1,7 +1,7 @@ - if @pipeline .mr-widget-heading - %w[success success_with_warnings skipped canceled failed running pending].each do |status| - .ci_widget{ class: "ci-status-icon-#{status}", style: ("display:none" unless @pipeline.status == status) } + .ci_widget{ class: "ci-#{status} ci-status-icon-#{status}", style: ("display:none" unless @pipeline.status == status) } = ci_icon_for_status(status) %span Pipeline |