2017-04-05 13:59:46 -04:00
|
|
|
- page_title @protected_ref.name, "Protected Branches"
|
2016-06-16 03:33:30 -04:00
|
|
|
|
|
|
|
.row.prepend-top-default.append-bottom-default
|
|
|
|
.col-lg-3
|
2017-05-11 11:47:44 -04:00
|
|
|
%h4.prepend-top-0.ref-name
|
2017-04-05 13:59:46 -04:00
|
|
|
= @protected_ref.name
|
2016-06-16 03:33:30 -04:00
|
|
|
|
|
|
|
.col-lg-9
|
|
|
|
%h5 Matching Branches
|
2017-04-05 13:59:46 -04:00
|
|
|
- if @matching_refs.present?
|
2016-06-16 03:33:30 -04:00
|
|
|
.table-responsive
|
|
|
|
%table.table.protected-branches-list
|
|
|
|
%colgroup
|
|
|
|
%col{ width: "30%" }
|
|
|
|
%col{ width: "30%" }
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Branch
|
|
|
|
%th Last commit
|
|
|
|
%tbody
|
2017-04-05 13:59:46 -04:00
|
|
|
- @matching_refs.each do |matching_branch|
|
2017-07-07 10:51:13 -04:00
|
|
|
= render partial: "projects/protected_branches/shared/matching_branch", object: matching_branch
|
2016-06-16 03:33:30 -04:00
|
|
|
- else
|
|
|
|
%p.settings-message.text-center
|
|
|
|
Couldn't find any matching branches.
|