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
9d4b288d
Commit
9d4b288d
authored
Apr 20, 2017
by
James Edwards-Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix protected tags specs: export models & javascript typo
parent
1c013ff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
app/assets/javascripts/protected_tags/protected_tag_edit.js
app/assets/javascripts/protected_tags/protected_tag_edit.js
+1
-1
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+2
-0
No files found.
app/assets/javascripts/protected_tags/protected_tag_edit.js
View file @
9d4b288d
...
...
@@ -11,7 +11,7 @@ export default class ProtectedTagEdit {
this
.
$wrap
=
options
.
$wrap
;
this
.
$allowedToCreateDropdownButton
=
this
.
$wrap
.
find
(
'
.js-allowed-to-create
'
);
this
.
$wrap
s
[
ACCESS_LEVELS
.
CREATE
]
=
this
.
$allowedToCreateDropdow
n
.
closest
(
`.
${
ACCESS_LEVELS
.
CREATE
}
-container`
);
this
.
$wrap
[
ACCESS_LEVELS
.
CREATE
]
=
this
.
$allowedToCreateDropdownButto
n
.
closest
(
`.
${
ACCESS_LEVELS
.
CREATE
}
-container`
);
this
.
buildDropdowns
();
}
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
9d4b288d
...
...
@@ -128,7 +128,9 @@ push_access_levels:
-
protected_branch
-
group
create_access_levels
:
-
user
-
protected_tag
-
group
container_repositories
:
-
project
-
name
...
...
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