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
Boxiang Sun
gitlab-ce
Commits
ab64ca7a
Commit
ab64ca7a
authored
Oct 12, 2014
by
Ben Bodenmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve wording on protected branches page
parent
b87c8c1a
Changes
1
Show 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 @
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 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