diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-10 21:12:47 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-10 21:12:47 +0000 |
commit | 256c5ea115fccfa52f1eb4cac8bf9530eecc1751 (patch) | |
tree | 97be78ad7061674e17d6d8bce98227b42be7ecf2 /app/views/shared/nav | |
parent | 73fe31a692af05918e234b1acc915e487f194d23 (diff) | |
download | gitlab-ce-256c5ea115fccfa52f1eb4cac8bf9530eecc1751.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/shared/nav')
-rw-r--r-- | app/views/shared/nav/_user_settings_scope_header.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/shared/nav/_user_settings_scope_header.html.haml b/app/views/shared/nav/_user_settings_scope_header.html.haml new file mode 100644 index 00000000000..c1601822736 --- /dev/null +++ b/app/views/shared/nav/_user_settings_scope_header.html.haml @@ -0,0 +1,4 @@ +%li.context-header + = link_to profile_path, title: _('User Settings'), class: 'has-tooltip', data: { container: 'body', placement: 'right' } do + = render Pajamas::AvatarComponent.new(current_user, size: 32, alt: current_user.name, class: 'gl-mr-3 js-sidebar-user-avatar', avatar_options: { data: { testid: 'sidebar-user-avatar' } }) + %span.sidebar-context-title= _('User Settings') |