mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 00:47:46 +01:00
add header to other profile sections
This commit is contained in:
parent
b153a04b54
commit
f345f8628f
2 changed files with 6 additions and 2 deletions
|
@ -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'
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue