Retrospring/app/views/layouts/user/profile.haml

17 lines
508 B
Plaintext
Raw Normal View History

.profile__header-container
%img.profile__header-image{src: @user.profile_header.url(:web)}
.container
2020-04-19 14:12:23 -07:00
.row
.col-md-3.col-xs-12.col-sm-4
2020-05-10 00:08:58 -07:00
= render 'user/profile', user: @user
.d-none.d-sm-block= render 'shared/links'
.col-md-9.col-xs-12.col-sm-8
= render "questionbox"
2020-05-10 00:25:34 -07:00
= render "tabs/profile", user: @user
2020-04-25 08:21:39 -07:00
= yield
2015-01-13 22:07:40 -08:00
- if user_signed_in?
= render 'modal/group'
2015-02-03 08:13:50 -08:00
- if current_user.mod? and @user != current_user
= render 'modal/privileges'
2020-05-10 00:08:58 -07:00
= render 'modal/ban'