Add current user avatar in the drawer
This commit is contained in:
parent
8c6342170b
commit
4d9d35cbfa
2 changed files with 7 additions and 0 deletions
|
|
@ -137,6 +137,12 @@ h3 {
|
||||||
.hide {
|
.hide {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
height: 35px;
|
||||||
|
width: 35px;
|
||||||
|
margin: -2px 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,7 @@
|
||||||
= link_to aspect.name, aspects_stream_path(a_ids: [aspect.id])
|
= link_to aspect.name, aspects_stream_path(a_ids: [aspect.id])
|
||||||
%li
|
%li
|
||||||
= link_to t('layouts.header.profile'), user_profile_path(current_user.username)
|
= link_to t('layouts.header.profile'), user_profile_path(current_user.username)
|
||||||
|
= person_image_tag(current_user)
|
||||||
%li
|
%li
|
||||||
= link_to t('_contacts'), contacts_path
|
= link_to t('_contacts'), contacts_path
|
||||||
%li
|
%li
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue