BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
41601806
Commit
41601806
authored
Sep 22, 2014
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the wording explaining protected branches.
parent
b43e918a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
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 @
41601806
%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