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.

This commit is contained in:
Sander Boom 2015-03-21 16:15:14 +01:00
parent 6cf189f0a9
commit 8ec075f97b
1 changed files with 2 additions and 1 deletions

View File

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