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

16 lines
481 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
= render 'user/profile'
.d-none.d-sm-block= render 'shared/links'
.col-md-9.col-xs-12.col-sm-8
= 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?
= render 'modal/group'
2015-02-03 08:13:50 -08:00
- if current_user.mod? and @user != current_user
= render 'modal/privileges'
2020-04-25 08:21:39 -07:00
= render 'modal/ban'