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
f0c0edc2
Commit
f0c0edc2
authored
Sep 24, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'improve-protect-wording' into 'master'
Improve protect wording See merge request !1103
parents
5c908ba2
41601806
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+6
-6
No files found.
app/views/projects/protected_branches/index.html.haml
View file @
f0c0edc2
%h3
.page-title
Protected branches
%p
.light
This ability
allows to keep stable branches secured and force code review before merge to protected branche
s
%p
.light
This ability
keeps stable branches secure and forces developers to use code review
s
%hr
.bs-callout.bs-callout-info
%p
Protected branches designed to
%p
Protected branches
are
designed to
%ul
%li
prevent push
for all
except
#{
link_to
"masters"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
}
%li
prevent
branch from force pus
h
%li
prevent
branch from removal
%p
Read more about
project permissions
#{
link_to
"here
"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"underlined-link"
}
%li
prevent push
es from everybody
except
#{
link_to
"masters"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
}
%li
prevent
s anyone from force pushing to the branc
h
%li
prevent
s anyone from deleting the branch
%p
Read more about
#{
link_to
"project permissions
"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"underlined-link"
}
-
if
can?
current_user
,
:admin_project
,
@project
=
form_for
[
@project
,
@protected_branch
],
html:
{
class:
'form-horizontal'
}
do
|
f
|
...
...
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