summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-09 22:36:13 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-09 22:36:13 +0200
commitfa40759768518d3457cc95204d6496db999aa7ca (patch)
treef0b32af75107a6770e05d44d69212bd2498c2432 /app
parenta81ce718c772672706da33848670149dd577ae79 (diff)
downloadgitlab-ce-fa40759768518d3457cc95204d6496db999aa7ca.tar.gz
Separate profile settings link from the rest on sidebar
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/nav/_dashboard.html.haml11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml
index 0cf1c3d5d27..7d3764a76a3 100644
--- a/app/views/layouts/nav/_dashboard.html.haml
+++ b/app/views/layouts/nav/_dashboard.html.haml
@@ -37,14 +37,15 @@
= icon('clipboard fw')
%span
Snippets
+ = nav_link(controller: :help) do
+ = link_to help_path, title: 'Help', data: {placement: 'right'} do
+ = icon('question-circle fw')
+ %span
+ Help
- if current_user
+ %li.separate-item
= nav_link(controller: :profile) do
= link_to profile_path, title: 'Profile settings', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('user fw')
%span
Profile Settings
- = nav_link(controller: :help) do
- = link_to help_path, title: 'Help', data: {placement: 'right'} do
- = icon('question-circle fw')
- %span
- Help