Remove no-header classes from profile page

This commit is contained in:
Andreas Nedbal 2020-04-28 19:33:54 +02:00
parent 22197a9e51
commit d53abd307d
2 changed files with 3 additions and 5 deletions

View File

@ -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'

View File

@ -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|