2020-04-25 18:23:02 +02:00
|
|
|
#timeline
|
|
|
|
- @timeline.each do |answer|
|
2022-07-19 17:28:38 +02:00
|
|
|
= render "answerbox", a: answer
|
2020-04-25 18:23:02 +02:00
|
|
|
|
2022-07-19 17:28:38 +02:00
|
|
|
= render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @timeline_last_id
|
2020-04-25 18:23:02 +02:00
|
|
|
|
2020-05-09 04:51:14 +02:00
|
|
|
- if @more_data_available
|
2020-05-29 23:00:25 +02:00
|
|
|
.d-flex.justify-content-center.justify-content-sm-start
|
2020-05-29 20:37:47 +02:00
|
|
|
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @timeline_last_id } }
|
|
|
|
= t 'views.actions.load'
|
2020-04-25 18:23:02 +02:00
|
|
|
|
2022-07-19 17:28:38 +02:00
|
|
|
- provide(:title, @title ||= APP_CONFIG["site_name"])
|
2020-05-10 08:40:32 +02:00
|
|
|
- parent_layout 'feed'
|