2020-04-25 09:23:02 -07:00
|
|
|
#timeline
|
|
|
|
- @timeline.each do |answer|
|
2020-04-26 08:13:31 -07:00
|
|
|
= render 'answerbox', a: answer
|
2020-04-25 09:23:02 -07:00
|
|
|
|
2020-05-08 19:51:14 -07:00
|
|
|
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
|
2020-04-25 09:23:02 -07:00
|
|
|
|
2020-05-08 19:51:14 -07:00
|
|
|
- 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: @timeline_last_id } }
|
|
|
|
= t 'views.actions.load'
|
2020-04-25 09:23:02 -07:00
|
|
|
|
2020-05-25 09:04:54 -07:00
|
|
|
- provide(:title, list_title(@list))
|
2020-05-10 04:22:36 -07:00
|
|
|
- parent_layout 'feed'
|