Retrospring/app/views/user/show.haml

15 lines
463 B
Plaintext
Raw Normal View History

.profile--panel-push-inner.hidden-xs
2020-04-25 08:21:39 -07:00
- unless @user.banned?
#answers
- @answers.each do |a|
2020-04-26 08:13:31 -07:00
= render 'answerbox', a: a
2020-04-25 08:21:39 -07:00
= 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"