2015-05-08 09:07:09 -07:00
|
|
|
- no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
|
2015-05-15 15:39:33 -07:00
|
|
|
#profile--header{class: no_header}
|
2015-05-08 09:04:58 -07:00
|
|
|
%img.profile--header-img{src: @user.profile_header.url(:web)}
|
2015-05-08 09:07:09 -07:00
|
|
|
.container.j2-page.headerable{class: no_header}
|
2020-04-19 14:12:23 -07:00
|
|
|
.row
|
|
|
|
#profile-info.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
|
|
|
= render 'user/profile_info'
|
2020-04-28 06:03:51 -07:00
|
|
|
.d-none.d-sm-block= render 'shared/links'
|
2020-04-19 14:12:23 -07:00
|
|
|
.col-md-9.col-xs-12.col-sm-8.j2-col-reset
|
2020-04-28 06:03:51 -07:00
|
|
|
= render "questionbox"
|
|
|
|
= render "tabs/profile"
|
2020-04-25 08:21:39 -07:00
|
|
|
= yield
|
2015-01-13 22:07:40 -08:00
|
|
|
- if user_signed_in?
|
2020-04-25 06:16:45 -07:00
|
|
|
= render 'modal/group'
|
2015-02-03 08:13:50 -08:00
|
|
|
- if current_user.mod? and @user != current_user
|
2020-04-25 06:16:45 -07:00
|
|
|
= render 'modal/privileges'
|
2020-04-25 08:21:39 -07:00
|
|
|
= render 'modal/ban'
|