mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-07 19:03:36 +01:00
27 lines
778 B
Text
27 lines
778 B
Text
|
.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
|
||
|
= 'Report'.pluralize(user.asked_count)
|
||
|
%br
|
||
|
%br
|
||
|
- else
|
||
|
%br
|
||
|
= render 'actions', user: user
|