2020-07-28 23:09:34 +05:30
|
|
|
- page_title @protected_ref.name, _("Protected Branches")
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
.row.gl-mt-3.gl-mb-3
|
2016-08-24 12:49:21 +05:30
|
|
|
.col-lg-3
|
2020-06-23 00:09:42 +05:30
|
|
|
%h4.gl-mt-0.ref-name
|
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|
|
2017-09-10 17:25:29 +05:30
|
|
|
= render partial: "projects/protected_branches/shared/matching_branch", object: matching_branch
|
2016-08-24 12:49:21 +05:30
|
|
|
- else
|
|
|
|
%p.settings-message.text-center
|
|
|
|
Couldn't find any matching branches.
|