retrospring/app/views/timeline/timeline.haml

14 lines
472 B
Text
Raw Permalink Normal View History

2020-04-25 18:23:02 +02:00
#timeline
- @timeline.each do |answer|
= render "answerbox", a: answer
2020-04-25 18:23:02 +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
- 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: @timeline_last_id } }
2022-07-30 18:50:46 +02:00
= t("voc.load")
2020-04-25 18:23:02 +02:00
2022-07-21 15:57:12 +02:00
- provide(:title, @title || APP_CONFIG["site_name"])
2020-05-10 08:40:32 +02:00
- parent_layout 'feed'