diff --git a/app/views/layouts/user/profile.haml b/app/views/layouts/user/profile.haml index 3c0edd84..7d35c155 100644 --- a/app/views/layouts/user/profile.haml +++ b/app/views/layouts/user/profile.haml @@ -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' diff --git a/app/views/user/show.haml b/app/views/user/show.haml index 964e7918..486b25e7 100644 --- a/app/views/user/show.haml +++ b/app/views/user/show.haml @@ -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|