2014-12-08 08:03:06 -08:00
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
|
|
|
.media
|
|
|
|
.pull-left
|
2014-12-09 06:32:29 -08:00
|
|
|
%img.img-rounded.profile--img{src: gravatar_url(@user)}
|
2014-12-08 08:03:06 -08:00
|
|
|
.media-body
|
|
|
|
- if @user.display_name.blank?
|
|
|
|
%h2= @user.screen_name
|
|
|
|
- else
|
2014-12-09 06:32:29 -08:00
|
|
|
%h2.profile--displayname= @user.display_name
|
|
|
|
%h4.text-muted.profile--username= @user.screen_name
|
2014-12-08 08:03:06 -08:00
|
|
|
- if @user.admin?
|
2014-12-09 06:32:29 -08:00
|
|
|
%p.profile--admin
|
2014-12-08 08:03:06 -08:00
|
|
|
%i.fa.fa-flask
|
|
|
|
Admin
|
|
|
|
- unless @user.bio.blank?
|
2014-12-09 06:32:29 -08:00
|
|
|
%p.profile--text= @user.bio
|
2014-12-08 08:03:06 -08:00
|
|
|
- unless @user.website.blank?
|
2014-12-09 06:32:29 -08:00
|
|
|
%p.profile--text
|
2014-12-08 08:03:06 -08:00
|
|
|
%i.fa.fa-globe
|
|
|
|
%a{href: @user.website}= @user.display_website
|
|
|
|
- unless @user.location.blank?
|
2014-12-09 06:32:29 -08:00
|
|
|
%p.profile--text
|
2014-12-08 08:03:06 -08:00
|
|
|
%i.fa.fa-location-arrow
|
|
|
|
= @user.location
|
2014-12-19 14:33:42 -08:00
|
|
|
= render 'user/actions', user: @user, type: :follower
|
|
|
|
= render 'user/stats', user: @user
|