Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_related_branches.html.haml « issues « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 310a0c1a61e8c3650bfa8f8cad220b68929b9e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- 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"