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
This commit is contained in:
Dmitriy Zaporozhets 2015-06-22 13:21:17 +00:00
commit 7bee9ce10e
1 changed files with 2 additions and 1 deletions

View File

@ -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