Commit 8a4f3193 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Merge branch 'rename-ci-commit' into rename-ci-commit-phase-2

* rename-ci-commit:
  Fix merge_request handling
parents 393ec8e7 bf2bd237
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%h2.merge-requests-title %h2.merge-requests-title
= pluralize(@merge_requests.count, 'Related Merge Request') = pluralize(@merge_requests.count, 'Related Merge Request')
%ul.unstyled-list %ul.unstyled-list
- has_any_ci = @merge_requests.any?(&:ci_commit) - has_any_ci = @merge_requests.any?(&:pipeline)
- @merge_requests.each do |merge_request| - @merge_requests.each do |merge_request|
%li %li
%span.merge-request-ci-status %span.merge-request-ci-status
......
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