Add current user avatar in the drawer

This commit is contained in:
flaburgan 2014-01-07 00:41:20 +01:00
parent 8c6342170b
commit 4d9d35cbfa
2 changed files with 7 additions and 0 deletions

View file

@ -137,6 +137,12 @@ h3 {
.hide {
display: none;
}
.avatar {
height: 35px;
width: 35px;
margin: -2px 5px;
}
}
a {

View file

@ -106,6 +106,7 @@
= link_to aspect.name, aspects_stream_path(a_ids: [aspect.id])
%li
= link_to t('layouts.header.profile'), user_profile_path(current_user.username)
= person_image_tag(current_user)
%li
= link_to t('_contacts'), contacts_path
%li