add header to other profile sections

This commit is contained in:
pixeldesu 2017-03-29 15:18:11 -07:00
parent b153a04b54
commit f345f8628f
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
- provide(:title, questions_title(@user)) - provide(:title, questions_title(@user))
.profile--header - no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
#profile--header{class: no_header}
%img.profile--header-img{src: @user.profile_header.url(:web)}
.container.j2-page .container.j2-page
.col-md-3.col-xs-12.col-sm-4.j2-col-reset .col-md-3.col-xs-12.col-sm-4.j2-col-reset
= render 'user/profile_info' = render 'user/profile_info'

View File

@ -1,5 +1,7 @@
- provide(:title, user_title(@user, "friends and followers")) - provide(:title, user_title(@user, "friends and followers"))
.profile--header - no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
#profile--header{class: no_header}
%img.profile--header-img{src: @user.profile_header.url(:web)}
.container.j2-page .container.j2-page
.col-md-3.col-xs-12.col-sm-4.j2-col-reset .col-md-3.col-xs-12.col-sm-4.j2-col-reset
= render 'user/profile_info' = render 'user/profile_info'