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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
519 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')
2022-10-11 01:57:18 +05:30
%ul.related-merge-requests.gl-pl-0.gl-mb-3
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"