debian-mirror-gitlab/app/views/projects/issues/_related_branches.html.haml
2022-01-26 12:08:38 +05:30

12 lines
511 B
Text

- if @related_branches.any?
%h2.gl-font-lg
= pluralize(@related_branches.size, 'Related Branch')
%ul.related-merge-requests.gl-pl-0
- @related_branches.each do |branch|
%li.gl-display-flex.gl-align-items-center
- if branch[:pipeline_status].present?
%span.related-branch-ci-status
= render 'ci/status/icon', status: branch[:pipeline_status]
%span.related-branch-info
%strong
= link_to branch[:name], branch[:link], class: "ref-name"