Commit b9d1fc2f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve protected branch explanation

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 36cac35b
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
= render "projects/branches/filter" = render "projects/branches/filter"
.col-md-9 .col-md-9
.bs-callout.bs-callout-info .bs-callout.bs-callout-info
%p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}. %p Protected branches designed to
%p This ability allows:
%ul %ul
%li keep stable branches secured %li prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
%li forced code review before merge to protected branches %li prevent branch from force push
%li prevents branch from force push %li prevent branch from removal
%p This ability allows to keep stable branches secured and force code review before merge to protected branches
%p Read more about project permissions #{link_to "here", help_permissions_path, class: "underlined-link"} %p Read more about project permissions #{link_to "here", help_permissions_path, class: "underlined-link"}
- if can? current_user, :admin_project, @project - if can? current_user, :admin_project, @project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment