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

21 lines
690 B
Plaintext
Raw Normal View History

2015-05-10 10:48:47 -07:00
- provide(:title, "#{APP_CONFIG['site_name']}")
- if user_signed_in?
2015-01-30 13:52:05 -08:00
= render 'static/mobile_nav'
2014-11-30 09:10:53 -08:00
.container.j2-page
2015-08-28 07:29:02 -07:00
.col-md-3.col-sm-4
2015-01-13 04:23:12 -08:00
= render 'shared/sidebar'
2015-08-28 07:29:02 -07:00
.col-md-9.col-xs-12.col-sm-8.j2-col-reset
2014-11-30 09:10:53 -08:00
= render 'layouts/messages'
#timeline
- @timeline.each do |answer|
= render 'shared/answerbox', a: answer
#pagination= will_paginate @timeline, renderer: BootstrapPagination::Rails, page_links: false
- if @timeline.next_page
2014-12-08 07:01:27 -08:00
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @timeline.current_page }}
Load more
2014-12-08 06:17:26 -08:00
.visible-xs= render 'shared/links'
- else
2015-01-30 13:52:05 -08:00
= render 'static/front'