17 lines
606 B
Plaintext
17 lines
606 B
Plaintext
- no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
|
|
.profile--panel-push-inner.hidden-xs{class: no_header}
|
|
= render 'shared/questionbox'
|
|
- unless @user.banned?
|
|
#answers
|
|
- @answers.each do |a|
|
|
= render 'shared/answerbox', a: a
|
|
|
|
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @answers_last_id
|
|
|
|
- if @more_data_available
|
|
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @answers_last_id }}
|
|
= t 'views.actions.load'
|
|
|
|
- provide(:title, user_title(@user))
|
|
- parent_layout "user/profile"
|