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
|
2020-05-29 14:00:25 -07:00
|
|
|
.d-flex.justify-content-center.justify-content-sm-start
|
2020-05-29 11:37:47 -07:00
|
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @answers_last_id } }
|
2022-07-30 09:50:46 -07:00
|
|
|
= t("voc.load")
|
2020-04-25 08:21:39 -07:00
|
|
|
|
2021-08-06 04:52:11 -07:00
|
|
|
:ruby
|
|
|
|
provide(:title, user_title(@user))
|
|
|
|
provide(:og, user_opengraph(@user))
|
|
|
|
provide(:meta, user_twitter_card(@user))
|
|
|
|
parent_layout 'user/profile'
|