diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-22 13:21:17 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-22 13:21:17 +0000 |
commit | 7bee9ce10edfb1440ee9b28cad210b1d8d4fad3d (patch) | |
tree | 498b6337e5120b84e36dcf72e24b3f92ce2c8dbe /app/views/users | |
parent | d3978e0b27adc51c9bd5df38465a22a02d6420ea (diff) | |
parent | 8ec075f97ba3218b361e25ad49816d66a15e83d3 (diff) | |
download | gitlab-ce-7bee9ce10edfb1440ee9b28cad210b1d8d4fad3d.tar.gz |
Merge branch 'see-full-size-avatar' into 'master'
Link an users avatar to the fullsize version
When we want to see the fullsize avatar of a user we can click the avatar on the profile page and the fullsize version will be opened in a new window/tab.
See merge request !415
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/show.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 1694818aef6..15d53499e03 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -9,7 +9,8 @@ .row %section.col-md-8 .header-with-avatar - = image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: '' + = link_to avatar_icon(@user.email), target: '_blank' do + = image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: '' %h3 = @user.name - if @user == current_user |