Retrospring/app/views/user/show.haml

17 lines
569 B
Plaintext
Raw Normal View History

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
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @answers_last_id } }
= t 'views.actions.load'
2020-04-25 08:21:39 -07:00
- provide(:title, user_title(@user))
- provide(:og, user_opengraph(@user))
- provide(:meta, user_twitter_card(@user))
2020-05-10 00:08:58 -07:00
- parent_layout 'user/profile'