Commit 7de6aee7 authored by Adam Niedzielski's avatar Adam Niedzielski

Fix pipelines info being hidden in merge request widget

We do need these "ci-#{status}" classes because we use them in
MergeRequestWidget to show correct divs.
parent d90d822d
- if @pipeline - if @pipeline
.mr-widget-heading .mr-widget-heading
- %w[success success_with_warnings skipped canceled failed running pending].each do |status| - %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) = ci_icon_for_status(status)
%span %span
Pipeline Pipeline
......
---
title: Fix pipelines info being hidden in merge request widget
merge_request: 7808
author:
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