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
|
|
|
|
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @timeline_last_id }}
|
|
|
|
Load more
|
2020-04-25 09:23:02 -07:00
|
|
|
|
|
|
|
- provide(:title, generate_title("Public Timeline"))
|
2020-05-08 19:51:14 -07:00
|
|
|
- parent_layout "feed"
|