2015-07-23 10:38:42 -07:00
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
|
|
|
.media
|
|
|
|
.pull-left
|
|
|
|
%img.img-rounded.profile--img{src: gravatar_url(user)}
|
|
|
|
.media-body
|
|
|
|
- if user.display_name.blank?
|
|
|
|
%h2
|
|
|
|
%a{href: show_user_profile_path(user.screen_name)}
|
|
|
|
= user.screen_name
|
|
|
|
- else
|
|
|
|
%h2.profile--displayname
|
|
|
|
%a{href: show_user_profile_path(user.screen_name)}
|
|
|
|
= user.display_name
|
|
|
|
%h4.text-muted.profile--username= user.screen_name
|
|
|
|
.row
|
|
|
|
.col-md-12.col-sm-12.col-xs-12
|
|
|
|
- unless count.nil?
|
|
|
|
%h4.entry-text#asked-count
|
|
|
|
= count
|
2015-07-23 10:53:51 -07:00
|
|
|
= 'Report'.pluralize(count)
|
2015-07-23 10:38:42 -07:00
|
|
|
%br
|
|
|
|
%br
|
|
|
|
- else
|
|
|
|
%br
|
|
|
|
= render 'actions', user: user
|