Commit b9d1fc2f3bdebe541795d6ef6e94da9e98b043d3

Authored by Dmitriy Zaporozhets
1 parent 36cac35b

Improve protected branch explanation

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/projects/protected_branches/index.html.haml
... ... @@ -4,12 +4,12 @@
4 4 = render "projects/branches/filter"
5 5 .col-md-9
6 6 .bs-callout.bs-callout-info
7   - %p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
8   - %p This ability allows:
  7 + %p Protected branches designed to
9 8 %ul
10   - %li keep stable branches secured
11   - %li forced code review before merge to protected branches
12   - %li prevents branch from force push
  9 + %li prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
  10 + %li prevent branch from force push
  11 + %li prevent branch from removal
  12 + %p This ability allows to keep stable branches secured and force code review before merge to protected branches
13 13 %p Read more about project permissions #{link_to "here", help_permissions_path, class: "underlined-link"}
14 14  
15 15 - if can? current_user, :admin_project, @project
... ...