add header classes to profile pages
This commit is contained in:
parent
f345f8628f
commit
598fce6f83
|
@ -2,7 +2,7 @@
|
|||
- 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.headerable{class: no_header}
|
||||
.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
||||
= render 'user/profile_info'
|
||||
.hidden-xs= render 'shared/links'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- 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.headerable{class: no_header}
|
||||
.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
||||
= render 'user/profile_info'
|
||||
.hidden-xs= render 'shared/links'
|
||||
|
|
Loading…
Reference in New Issue