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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
8459873e
Commit
8459873e
authored
Jun 04, 2018
by
Mark Chao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ee
parent
1f93b7f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/views/shared/promotions/_promote_repository_features.html.haml
.../shared/promotions/_promote_repository_features.html.haml
+1
-1
ee/spec/support/helpers/ee/protected_branch_helpers.rb
ee/spec/support/helpers/ee/protected_branch_helpers.rb
+1
-1
No files found.
ee/app/views/shared/promotions/_promote_repository_features.html.haml
View file @
8459873e
...
...
@@ -26,6 +26,6 @@
%li
=
link_to
'Better Protected Branches'
,
help_page_path
(
'user/project/protected_branches.html'
),
target:
'_blank'
%p
You can restrict access to protected branches by choosing a role (Ma
st
ers, Developers) as well as certain users.
You can restrict access to protected branches by choosing a role (Ma
intain
ers, Developers) as well as certain users.
=
render
'shared/promotions/promotion_link_project'
ee/spec/support/helpers/ee/protected_branch_helpers.rb
View file @
8459873e
module
EE
module
ProtectedBranchHelpers
def
set_allowed_to
(
operation
,
option
=
'Ma
st
ers'
,
form:
'.js-new-protected-branch'
)
def
set_allowed_to
(
operation
,
option
=
'Ma
intain
ers'
,
form:
'.js-new-protected-branch'
)
within
form
do
find
(
".js-allowed-to-
#{
operation
}
"
).
click
wait_for_requests
...
...
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