Commit 08ba1ff1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Improve protected branch explanation


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent cd0d9f50d78f
......@@ -4,6 +4,5 @@
= render "projects/branches/filter"
.col-md-9
.bs-callout.bs-callout-info
%p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
%p This ability allows:
%p Protected branches designed to
%ul
......@@ -9,7 +8,8 @@
%ul
%li keep stable branches secured
%li forced code review before merge to protected branches
%li prevents branch from force push
%li prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
%li prevent 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"}
- if can? current_user, :admin_project, @project
......
Supports Markdown
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