Commit c9c6f77e authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Merge pull request #7915 from bbodenmiller/patch-12

improve wording on protected branches page
parents f7342ce5 ab64ca7a
%h3.page-title Protected branches %h3.page-title Protected branches
%p.light This ability keeps stable branches secure and forces developers to use code reviews %p.light Keep stable branches secure and force developers to use Merge Requests
%hr %hr
.bs-callout.bs-callout-info .bs-callout.bs-callout-info
%p Protected branches are designed to %p Protected branches are designed to
%ul %ul
%li prevent pushes from everybody except #{link_to "masters", help_page_path("permissions", "permissions"), class: "vlink"} %li prevent pushes from everybody except #{link_to "masters", help_page_path("permissions", "permissions"), class: "vlink"}
%li prevents anyone from force pushing to the branch %li prevent anyone from force pushing to the branch
%li prevents anyone from deleting the branch %li prevent anyone from deleting the branch
%p Read more about #{link_to "project permissions", help_page_path("permissions", "permissions"), class: "underlined-link"} %p Read more about #{link_to "project permissions", help_page_path("permissions", "permissions"), 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