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
iv
gitlab-ce
Commits
635c8611
Commit
635c8611
authored
Apr 30, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix snippest sidebar when signed out.
parent
280a2124
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
app/views/layouts/nav/_snippets.html.haml
app/views/layouts/nav/_snippets.html.haml
+6
-5
No files found.
app/views/layouts/nav/_snippets.html.haml
View file @
635c8611
%ul
.nav.nav-sidebar
%ul
.nav.nav-sidebar
-
if
current_user
=
nav_link
(
path:
user_snippets_path
(
current_user
),
html_options:
{
class:
'home'
})
do
=
nav_link
(
path:
user_snippets_path
(
current_user
),
html_options:
{
class:
'home'
})
do
=
link_to
user_snippets_path
(
current_user
),
title:
'Your snippets'
,
data:
{
placement:
'right'
}
do
=
link_to
user_snippets_path
(
current_user
),
title:
'Your snippets'
,
data:
{
placement:
'right'
}
do
=
icon
(
'dashboard fw'
)
=
icon
(
'dashboard fw'
)
...
...
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