2020-05-09 02:45:47 +02:00
|
|
|
.card.h-100.userbox
|
2020-05-10 11:57:18 +02:00
|
|
|
%img.userbox__header{ src: user.profile_header.url(:mobile) }
|
2020-04-19 23:09:41 +02:00
|
|
|
.card-body
|
2020-05-10 11:57:18 +02:00
|
|
|
%img.userbox__avatar{ src: user.profile_picture.url(:small) }
|
|
|
|
%a.profile__name{ href: show_user_profile_path(user.screen_name) }
|
2021-12-23 22:01:56 +01:00
|
|
|
- unless user.profile.display_name.blank?
|
2020-05-09 02:45:47 +02:00
|
|
|
.profile__display-name
|
2021-12-23 22:01:56 +01:00
|
|
|
= user.profile.display_name
|
2020-05-10 11:57:18 +02:00
|
|
|
.profile__screen-name
|
|
|
|
= user.screen_name
|
2015-07-23 19:38:42 +02:00
|
|
|
.row
|
|
|
|
.col-md-12.col-sm-12.col-xs-12
|
2020-05-10 11:57:18 +02:00
|
|
|
- if count.positive?
|
2015-07-24 17:04:46 +02:00
|
|
|
%h4.entry-text.text-center#asked-count
|
2015-07-23 19:38:42 +02:00
|
|
|
= count
|
2015-07-23 19:53:51 +02:00
|
|
|
= 'Report'.pluralize(count)
|
2015-07-23 19:38:42 +02:00
|
|
|
%br
|
|
|
|
%br
|
|
|
|
- else
|
|
|
|
%br
|
|
|
|
= render 'actions', user: user
|