2016-02-12 13:42:25 -05:00
|
|
|
- if @related_branches.any?
|
|
|
|
%h2.related-branches-title
|
2020-04-14 11:09:44 -04:00
|
|
|
= pluralize(@related_branches.size, 'Related Branch')
|
2016-09-09 10:00:21 -04:00
|
|
|
%ul.unstyled-list.related-merge-requests
|
2016-02-12 13:42:25 -05:00
|
|
|
- @related_branches.each do |branch|
|
|
|
|
%li
|
2020-05-04 02:10:10 -04:00
|
|
|
- if branch[:pipeline_status].present?
|
2016-02-12 13:42:25 -05:00
|
|
|
%span.related-branch-ci-status
|
2020-05-04 02:10:10 -04:00
|
|
|
= render 'ci/status/icon', status: branch[:pipeline_status]
|
2016-02-12 13:42:25 -05:00
|
|
|
%span.related-branch-info
|
|
|
|
%strong
|
2020-05-04 02:10:10 -04:00
|
|
|
= link_to branch[:name], branch[:link], class: "ref-name"
|