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
.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
......
---
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