2017-08-17 22:00:37 +05:30
|
|
|
- page_title @protected_ref.name, "Protected Branches"
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
.row.prepend-top-default.append-bottom-default
|
|
|
|
.col-lg-3
|
|
|
|
%h4.prepend-top-0
|
2017-08-17 22:00:37 +05:30
|
|
|
= @protected_ref.name
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
.col-lg-9
|
|
|
|
%h5 Matching Branches
|
2017-08-17 22:00:37 +05:30
|
|
|
- if @matching_refs.present?
|
2016-08-24 12:49:21 +05:30
|
|
|
.table-responsive
|
|
|
|
%table.table.protected-branches-list
|
|
|
|
%colgroup
|
|
|
|
%col{ width: "30%" }
|
|
|
|
%col{ width: "30%" }
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Branch
|
|
|
|
%th Last commit
|
|
|
|
%tbody
|
2017-08-17 22:00:37 +05:30
|
|
|
- @matching_refs.each do |matching_branch|
|
2016-08-24 12:49:21 +05:30
|
|
|
= render partial: "matching_branch", object: matching_branch
|
|
|
|
- else
|
|
|
|
%p.settings-message.text-center
|
|
|
|
Couldn't find any matching branches.
|