diff options
author | Yoginth <me@yoginth.com> | 2019-01-23 11:43:49 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-01-23 11:43:49 +0300 |
commit | eae751fafeec4d8331384f791b060a85f90bc52f (patch) | |
tree | d1279e3bf753695f6983e5baaf40b28d163f0567 /app/views/layouts | |
parent | e67af0698970beb7f12ae0945870a5b217f8d45d (diff) |
Add Avatar in the settings sidebar
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/nav/sidebar/_profile.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/sidebar/_profile.html.haml b/app/views/layouts/nav/sidebar/_profile.html.haml index 69167edb1df..1e3bb8f1224 100644 --- a/app/views/layouts/nav/sidebar/_profile.html.haml +++ b/app/views/layouts/nav/sidebar/_profile.html.haml @@ -3,7 +3,7 @@ .context-header = link_to profile_path, title: _('Profile Settings') do .avatar-container.s40.settings-avatar - = sprite_icon('user', size: 24) + = image_tag avatar_icon_for_user(current_user, 40), class: "avatar s40 avatar-tile", alt: current_user.name .sidebar-context-title User Settings %ul.sidebar-top-level-items = nav_link(path: 'profiles#show', html_options: {class: 'home'}) do |