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
0261a5e2
Commit
0261a5e2
authored
Apr 02, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wording and remove duplicate link
parent
4a63573b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
app/views/layouts/nav/_snippets.html.haml
app/views/layouts/nav/_snippets.html.haml
+2
-2
app/views/snippets/current_user_index.html.haml
app/views/snippets/current_user_index.html.haml
+0
-2
No files found.
app/views/layouts/nav/_snippets.html.haml
View file @
0261a5e2
%ul
.nav.nav-sidebar
%ul
.nav.nav-sidebar
=
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
)
do
=
link_to
user_snippets_path
(
current_user
)
,
title:
'Your snippets'
do
%i
.fa.fa-dashboard
%i
.fa.fa-dashboard
%span
%span
My
Snippets
Your
Snippets
=
nav_link
(
path:
snippets_path
)
do
=
nav_link
(
path:
snippets_path
)
do
=
link_to
snippets_path
,
title:
'Discover snippets'
do
=
link_to
snippets_path
,
title:
'Discover snippets'
do
%i
.fa.fa-globe
%i
.fa.fa-globe
...
...
app/views/snippets/current_user_index.html.haml
View file @
0261a5e2
...
@@ -3,8 +3,6 @@
...
@@ -3,8 +3,6 @@
.pull-right
.pull-right
=
link_to
new_snippet_path
,
class:
"btn btn-new btn-grouped"
,
title:
"New Snippet"
do
=
link_to
new_snippet_path
,
class:
"btn btn-new btn-grouped"
,
title:
"New Snippet"
do
Add new snippet
Add new snippet
=
link_to
snippets_path
,
class:
"btn btn-grouped"
do
Discover snippets
%p
.light
%p
.light
Share code pastes with others out of git repository
Share code pastes with others out of git repository
...
...
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