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
e79b5ff9
Commit
e79b5ff9
authored
Jan 15, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed un-used variable
parent
60139345
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+0
-2
No files found.
app/helpers/projects_helper.rb
View file @
e79b5ff9
...
@@ -54,8 +54,6 @@ module ProjectsHelper
...
@@ -54,8 +54,6 @@ module ProjectsHelper
link_to
(
simple_sanitize
(
owner
.
name
),
user_path
(
owner
))
link_to
(
simple_sanitize
(
owner
.
name
),
user_path
(
owner
))
end
end
all_projects
=
current_user
.
authorized_projects
.
sorted_by_activity
.
non_archived
if
current_user
project_link
=
link_to
project_path
(
project
),
{
class:
"project-item-select-holder
#{
"js-projects-dropdown-toggle"
if
current_user
}
"
}
do
project_link
=
link_to
project_path
(
project
),
{
class:
"project-item-select-holder
#{
"js-projects-dropdown-toggle"
if
current_user
}
"
}
do
link_output
=
simple_sanitize
(
project
.
name
)
link_output
=
simple_sanitize
(
project
.
name
)
link_output
+=
content_tag
:span
,
nil
,
{
class:
"fa fa-chevron-down dropdown-toggle-caret"
}
if
current_user
link_output
+=
content_tag
:span
,
nil
,
{
class:
"fa fa-chevron-down dropdown-toggle-caret"
}
if
current_user
...
...
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