show.html.haml 721 字节
Newer Older
1
- page_title @protected_ref.name, "Protected Branches"
2 3 4 5

.row.prepend-top-default.append-bottom-default
  .col-lg-3
    %h4.prepend-top-0
6
      = @protected_ref.name
7 8 9

  .col-lg-9
    %h5 Matching Branches
10
    - if @matching_refs.present?
11 12 13 14 15 16 17 18 19 20
      .table-responsive
        %table.table.protected-branches-list
          %colgroup
            %col{ width: "30%" }
            %col{ width: "30%" }
          %thead
            %tr
              %th Branch
              %th Last commit
          %tbody
21
            - @matching_refs.each do |matching_branch|
22 23 24 25
              = render partial: "matching_branch", object: matching_branch
    - else
      %p.settings-message.text-center
        Couldn't find any matching branches.