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
cf37f0b1
Commit
cf37f0b1
authored
Aug 30, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix variable naming conflict
parent
68de5dcb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/helpers/visibility_level_helper.rb
app/helpers/visibility_level_helper.rb
+2
-2
No files found.
app/helpers/visibility_level_helper.rb
View file @
cf37f0b1
...
...
@@ -165,10 +165,10 @@ module VisibilityLevelHelper
private
def
visibility_level_errors_for_group
(
group
,
level_name
)
group
=
link_to
group
.
name
,
group_path
(
group
)
group
_name
=
link_to
group
.
name
,
group_path
(
group
)
change_visiblity
=
link_to
'change the visibility'
,
edit_group_path
(
group
)
{
reason:
"the visibility of
#{
group
}
is
#{
group
.
visibility
}
"
,
{
reason:
"the visibility of
#{
group
_name
}
is
#{
group
.
visibility
}
"
,
instruction:
" To make this group
#{
level_name
}
, you must first
#{
change_visiblity
}
of the parent group."
}
end
end
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