2016-06-02 11:05:42 +05:30
|
|
|
- if @related_branches.any?
|
|
|
|
%h2.related-branches-title
|
2020-04-22 19:07:51 +05:30
|
|
|
= pluralize(@related_branches.size, 'Related Branch')
|
2016-09-29 09:46:39 +05:30
|
|
|
%ul.unstyled-list.related-merge-requests
|
2016-06-02 11:05:42 +05:30
|
|
|
- @related_branches.each do |branch|
|
|
|
|
%li
|
2020-05-24 23:13:21 +05:30
|
|
|
- if branch[:pipeline_status].present?
|
2016-06-02 11:05:42 +05:30
|
|
|
%span.related-branch-ci-status
|
2020-05-24 23:13:21 +05:30
|
|
|
= render 'ci/status/icon', status: branch[:pipeline_status]
|
2016-06-02 11:05:42 +05:30
|
|
|
%span.related-branch-info
|
|
|
|
%strong
|
2020-05-24 23:13:21 +05:30
|
|
|
= link_to branch[:name], branch[:link], class: "ref-name"
|