diff options
author | Sander Boom <sander@inflowmotion.nl> | 2015-03-21 16:15:14 +0100 |
---|---|---|
committer | Sander Boom <sander@inflowmotion.nl> | 2015-03-21 16:15:14 +0100 |
commit | 8ec075f97ba3218b361e25ad49816d66a15e83d3 (patch) | |
tree | 3406bc69bd77f8dc5d172386ca363d6fb0fd0eb8 /app | |
parent | 6cf189f0a92772b9174f913e7c74a4889d54e9a6 (diff) | |
download | gitlab-ce-8ec075f97ba3218b361e25ad49816d66a15e83d3.tar.gz |
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.
Diffstat (limited to 'app')
-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 fd96020d129..45a380126f8 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -3,7 +3,8 @@ %i.fa.fa-angle-left %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 |