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{class: no_header}
|
||||
#profile--header
|
||||
%img.profile--header-img{src: @user.profile_header.url(:web)}
|
||||
.container.j2-page.headerable{class: no_header}
|
||||
.container.j2-page.headerable
|
||||
.row
|
||||
#profile-info.col-md-3.col-xs-12.col-sm-4.j2-col-reset
|
||||
= 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{class: no_header}
|
||||
.profile--panel-push-inner.hidden-xs
|
||||
- unless @user.banned?
|
||||
#answers
|
||||
- @answers.each do |a|
|
||||
|
|
Loading…
Reference in New Issue