Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-07-08 01:40:29 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-07-08 01:40:29 +0300
commitdad406da23f7a4d94f9f8df1a4b8743dc0e9dc96 (patch)
treec3f1fea5d3786e9ad1c3c316754ba1e68f9abc8a /app/views/projects/protected_branches/show.html.haml
parentbf2a86b73cce332ff8f4392ffc8df501193f32ec (diff)
parentbf89e06a459556fc55c0f5582a552ede8f6675c8 (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.haml25
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.