Remove no-header classes from profile page
This commit is contained in:
parent
22197a9e51
commit
d53abd307d
|
@ -1,7 +1,6 @@
|
||||||
- no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
|
#profile--header
|
||||||
#profile--header{class: no_header}
|
|
||||||
%img.profile--header-img{src: @user.profile_header.url(:web)}
|
%img.profile--header-img{src: @user.profile_header.url(:web)}
|
||||||
.container.j2-page.headerable{class: no_header}
|
.container.j2-page.headerable
|
||||||
.row
|
.row
|
||||||
#profile-info.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
#profile-info.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
||||||
= render 'user/profile_info'
|
= render 'user/profile_info'
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
- no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
|
.profile--panel-push-inner.hidden-xs
|
||||||
.profile--panel-push-inner.hidden-xs{class: no_header}
|
|
||||||
- unless @user.banned?
|
- unless @user.banned?
|
||||||
#answers
|
#answers
|
||||||
- @answers.each do |a|
|
- @answers.each do |a|
|
||||||
|
|
Loading…
Reference in New Issue