13 lines
461 B
Plaintext
13 lines
461 B
Plaintext
|
- type ||= @type || :nil
|
||
|
.card.h-100.userbox
|
||
|
%img.userbox__header{src: user.profile_header.url(:mobile)}
|
||
|
.card-body
|
||
|
%img.userbox__avatar{src: user.profile_picture.url(:small)}
|
||
|
%a.profile__name{href: show_user_profile_path(user.screen_name)}
|
||
|
- unless user.display_name.blank?
|
||
|
.profile__display-name
|
||
|
= user.display_name
|
||
|
.profile__screen-name
|
||
|
= user.screen_name
|
||
|
= render 'user/actions', user: user, type: type
|