gitlab-org--gitlab-foss/app/views/projects/issues/_related_branches.html.haml

13 lines
491 B
Text
Raw Normal View History

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