debian-mirror-gitlab/app/views/projects/issues/_related_branches.html.haml

13 lines
517 B
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
- if @related_branches.any?
2021-11-18 22:05:49 +05:30
%h2.gl-font-lg
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|
2021-11-18 22:05:49 +05:30
%li.gl-display-flex.gl-align-items-center
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"