File: show.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (25 lines) | stat: -rw-r--r-- 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- page_title @protected_ref.name, _("Protected Branches")

.row.gl-mt-3.gl-mb-3
  .col-lg-3
    %h4.gl-mt-0.ref-name
      = @protected_ref.name

  .col-lg-9
    %h5 Matching Branches
    - if @matching_refs.present?
      .table-responsive
        %table.table.protected-branches-list
          %colgroup
            %col{ width: "30%" }
            %col{ width: "30%" }
          %thead
            %tr
              %th Branch
              %th Last commit
          %tbody
            - @matching_refs.each do |matching_branch|
              = render partial: "protected_branches/shared/matching_branch", object: matching_branch
    - else
      %p.settings-message.text-center
        Couldn't find any matching branches.