2017-04-05 17:59:46 +00:00
|
|
|
- page_title @protected_ref.name, "Protected Branches"
|
2016-06-16 07:33:30 +00:00
|
|
|
|
|
|
|
.row.prepend-top-default.append-bottom-default
|
|
|
|
.col-lg-3
|
2017-05-11 15:47:44 +00:00
|
|
|
%h4.prepend-top-0.ref-name
|
2017-04-05 17:59:46 +00:00
|
|
|
= @protected_ref.name
|
2016-06-16 07:33:30 +00:00
|
|
|
|
|
|
|
.col-lg-9
|
|
|
|
%h5 Matching Branches
|
2017-04-05 17:59:46 +00:00
|
|
|
- if @matching_refs.present?
|
2016-06-16 07:33:30 +00: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 17:59:46 +00:00
|
|
|
- @matching_refs.each do |matching_branch|
|
2017-07-07 14:51:13 +00:00
|
|
|
= render partial: "projects/protected_branches/shared/matching_branch", object: matching_branch
|
2016-06-16 07:33:30 +00:00
|
|
|
- else
|
|
|
|
%p.settings-message.text-center
|
|
|
|
Couldn't find any matching branches.
|