diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-07-08 01:40:29 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-07-08 01:40:29 +0300 |
commit | dad406da23f7a4d94f9f8df1a4b8743dc0e9dc96 (patch) | |
tree | c3f1fea5d3786e9ad1c3c316754ba1e68f9abc8a /app/views/projects/protected_branches/show.html.haml | |
parent | bf2a86b73cce332ff8f4392ffc8df501193f32ec (diff) | |
parent | bf89e06a459556fc55c0f5582a552ede8f6675c8 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'app/views/projects/protected_branches/show.html.haml')
-rw-r--r-- | app/views/projects/protected_branches/show.html.haml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app/views/projects/protected_branches/show.html.haml b/app/views/projects/protected_branches/show.html.haml new file mode 100644 index 00000000000..4d8169815b3 --- /dev/null +++ b/app/views/projects/protected_branches/show.html.haml @@ -0,0 +1,25 @@ +- page_title @protected_branch.name, "Protected Branches" + +.row.prepend-top-default.append-bottom-default + .col-lg-3 + %h4.prepend-top-0 + = @protected_branch.name + + .col-lg-9 + %h5 Matching Branches + - if @matching_branches.present? + .table-responsive + %table.table.protected-branches-list + %colgroup + %col{ width: "30%" } + %col{ width: "30%" } + %thead + %tr + %th Branch + %th Last commit + %tbody + - @matching_branches.each do |matching_branch| + = render partial: "matching_branch", object: matching_branch + - else + %p.settings-message.text-center + Couldn't find any matching branches. |