Retrospring/app/views/moderation/_userbox.html.haml

20 lines
608 B
Plaintext

.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
.row
.col-md-12.col-sm-12.col-xs-12
- unless count.nil?
%h4.entry-text.text-center#asked-count
= count
= 'Report'.pluralize(count)
%br
%br
- else
%br
= render 'actions', user: user