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

_branches_list.html.haml « shared « protected_branches « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d1ed438eb2110a6555cf5a73170572ab1f09167e (plain)
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
26
27
28
29
30
.protected-branches-list.js-protected-branches-list.qa-protected-branches-list
  - if @protected_branches.empty?
    .panel-heading
      %h3.panel-title
        Protected branch (#{@protected_branches_count})
    %p.settings-message.text-center
      There are currently no protected branches, protect a branch with the form above.
  - else
    %table.table.table-bordered
      %colgroup
        %col{ width: "20%" }
        %col{ width: "20%" }
        %col{ width: "20%" }
        %col{ width: "20%" }
        - if can_admin_project
          %col
      %thead
        %tr
          %th Protected branch (#{@protected_branches_count})
          %th Last commit
          %th Allowed to merge
          %th Allowed to push
          - if can_admin_project
            %th
      %tbody
        %tr
          %td.flash-container{ colspan: 5 }
        = yield

    = paginate @protected_branches, theme: 'gitlab'