summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-07-05 13:15:26 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-07-05 13:15:26 +0000
commitc20ab9f5e8156a3bd002bfd68981ba07320c882a (patch)
tree6e1c9aaf9f7b4f3f777d7c21704d8b58b8bc9128
parentaad62735a4643f851047c11eca9eb188d0ef8c77 (diff)
parent1a5348d55429661a7c896983241722b7564613ea (diff)
downloadgitlab-ce-c20ab9f5e8156a3bd002bfd68981ba07320c882a.tar.gz
Merge branch 'dz-add-profile-settings-link' into 'master'
Add profile settings link to header user dropdown It allows you to get to profile settings right from avatar without triggering sidebar Based on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5077#note_12878162 See merge request !5090
-rw-r--r--app/views/layouts/header/_default.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index d59a93a8fd7..ad1fa4c1d86 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -46,6 +46,8 @@
%ul
%li
= link_to "Profile", current_user
+ %li
+ = link_to "Profile Settings", profile_path
%li.divider
%li
= link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link", title: 'Sign out'