summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_default.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-07-05 15:10:46 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-07-05 16:17:49 +0300
commit05e722728cc61c14a3a1b2df005659a915c83f79 (patch)
tree180d9143aa194131d642b195b49712b4f832c954 /app/views/layouts/header/_default.html.haml
parent7facedfb19555cd9685a79c315871355fab2d095 (diff)
downloadgitlab-ce-05e722728cc61c14a3a1b2df005659a915c83f79.tar.gz
Set user data in profile link in the header
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/layouts/header/_default.html.haml')
-rw-r--r--app/views/layouts/header/_default.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index ad1fa4c1d86..11cee421a99 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -45,7 +45,7 @@
.dropdown-menu-nav.dropdown-menu-align-right
%ul
%li
- = link_to "Profile", current_user
+ = link_to "Profile", current_user, class: 'profile-link', data: { user: current_user.username }
%li
= link_to "Profile Settings", profile_path
%li.divider