Retrospring/app/views/public/index.html.haml

20 lines
634 B
Plaintext
Raw Normal View History

- provide(:title, generate_title("Public Timeline"))
2015-01-30 13:55:29 -08:00
= render 'static/mobile_nav'
2014-12-10 21:39:35 -08:00
.container.j2-page
2020-04-19 14:12:23 -07:00
.row
.col-md-3.col-sm-4
= render 'shared/sidebar'
.col-md-9.col-xs-12.col-sm-8
= render 'layouts/messages'
2014-12-10 21:39:35 -08:00
2020-04-19 14:12:23 -07:00
#timeline
- @timeline.each do |answer|
= render 'shared/answerbox', a: answer
2014-12-10 21:39:35 -08:00
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
2014-12-10 21:39:35 -08:00
- if @more_data_available
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @timeline_last_id }}
2014-12-10 21:39:35 -08:00
Load more
.visible-xs= render 'shared/links'