diff options
author | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2017-04-19 16:43:57 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-19 16:43:57 +0000 |
commit | 3b2adb5bd7b2f4c77147a1f6adc7f7f46124a40a (patch) | |
tree | f3ee15d920ed88abfec6a30bbb7d540c03d06681 /app/views | |
parent | 364050c1f1387170fc70128dd2eec570cba89999 (diff) | |
download | gitlab-ce-3b2adb5bd7b2f4c77147a1f6adc7f7f46124a40a.tar.gz |
Added profile name to user dropdown
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index a9893dea68f..66f75f1c2bf 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -67,6 +67,11 @@ = icon('caret-down') .dropdown-menu-nav.dropdown-menu-align-right %ul + %li.current-user + .user-name.bold + = current_user.name + @#{current_user.username} + %li.divider %li = link_to "Profile", current_user, class: 'profile-link', aria: { label: "Profile" }, data: { user: current_user.username } %li |