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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
658 B
Plaintext
Raw Normal View History

.container
2022-07-24 05:30:20 -07:00
.card.profile__header-card
.profile__header-container
%img.profile__header-image{ src: @user.profile_header.url(:web) }
2020-04-19 14:12:23 -07:00
.row
.col-lg-3.col-md-4.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-lg-9.col-md-8.col-xs-12.col-sm-8
2020-05-10 05:06:22 -07:00
= render 'questionbox', user: @user
2020-05-10 04:10:47 -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/list', user: @user
2020-05-10 04:10:47 -07:00
- if current_user.mod? && @user != current_user
2020-05-10 03:53:30 -07:00
= render 'modal/privileges', user: @user
= render 'modal/ban', user: @user
.d-block.d-sm-none= render 'shared/links'