Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
c9c6f77e
Commit
c9c6f77e
authored
Oct 12, 2014
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7915 from bbodenmiller/patch-12
improve wording on protected branches page
parents
f7342ce5
ab64ca7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+3
-3
No files found.
app/views/projects/protected_branches/index.html.haml
View file @
c9c6f77e
%h3
.page-title
Protected branches
%h3
.page-title
Protected branches
%p
.light
This ability keeps stable branches secure and forces developers to use code review
s
%p
.light
Keep stable branches secure and force developers to use Merge Request
s
%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
prevent
s
anyone from force pushing to the branch
%li
prevent anyone from force pushing to the branch
%li
prevent
s
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment