2014-11-02 11:29:01 -08:00
|
|
|
.container.j2-page
|
2014-11-02 08:57:37 -08:00
|
|
|
.col-md-3.col-xs-12.col-sm-3
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
|
|
|
.row
|
|
|
|
.col-md-12.col-xs-12.col-sm-9
|
|
|
|
%img.img-rounded.img-profile
|
2014-11-13 03:52:08 -08:00
|
|
|
- if @user.display_name.blank?
|
|
|
|
%h1= @user.screen_name
|
|
|
|
- else
|
2014-11-29 14:40:57 -08:00
|
|
|
%h1.user-displayname= @user.display_name
|
|
|
|
%h3.text-muted.user-username= @user.screen_name
|
2014-11-28 13:41:29 -08:00
|
|
|
- if @user.admin?
|
2014-11-29 15:10:23 -08:00
|
|
|
%p.user-admin
|
2014-11-29 15:06:47 -08:00
|
|
|
%i.fa.fa-flask
|
|
|
|
Admin
|
2014-11-29 13:56:38 -08:00
|
|
|
%h4.entry-text= @user.follower_count
|
|
|
|
%h6.entry-subtext Followers
|
|
|
|
%h4.entry-text= @user.friend_count
|
|
|
|
%h6.entry-subtext Followings
|
|
|
|
%h4.entry-text= @user.asked_count
|
|
|
|
%h6.entry-subtext Questions
|
|
|
|
%h4.entry-text= @user.answered_count
|
|
|
|
%h6.entry-subtext Answers
|
2014-11-24 08:52:58 -08:00
|
|
|
.hidden-xs= render 'shared/links'
|
2014-11-02 08:57:37 -08:00
|
|
|
.col-md-9.col-xs-12.col-sm-9
|
2014-11-12 11:40:24 -08:00
|
|
|
= render 'shared/questionbox'
|
|
|
|
- @answers.each do |a|
|
2014-11-27 02:50:29 -08:00
|
|
|
= render 'shared/answerbox', a: a
|
2014-11-24 08:52:58 -08:00
|
|
|
.visible-xs= render 'shared/links'
|