2014-11-02 18:16:56 +01:00
|
|
|
- if user_signed_in?
|
2015-01-30 22:52:05 +01:00
|
|
|
= render 'static/mobile_nav'
|
2014-11-30 18:10:53 +01:00
|
|
|
.container.j2-page
|
2014-12-12 17:43:32 +01:00
|
|
|
.col-md-3.col-sm-3
|
2015-01-13 13:23:12 +01:00
|
|
|
= render 'shared/sidebar'
|
2015-02-05 15:17:15 +01:00
|
|
|
.col-md-9.col-xs-12.col-sm-9.j2-col-reset
|
2014-11-30 18:10:53 +01:00
|
|
|
= render 'layouts/messages'
|
2015-03-27 13:24:09 +01:00
|
|
|
.alert.alert-danger.alert-dismissible{role: "alert"}
|
|
|
|
%button.close{type: "button", "data-dismiss" => "alert"}
|
|
|
|
%span{"aria-hidden" => "true"} ×
|
2015-03-27 23:10:57 +01:00
|
|
|
Retrospring will shut down on 31st March 2015!
|
2014-12-08 14:14:13 +01:00
|
|
|
#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 16:01:27 +01:00
|
|
|
%button#load-more-btn.btn.btn-default{type: :button, data: { current_page: @timeline.current_page }}
|
2014-12-08 14:14:13 +01:00
|
|
|
Load more
|
2014-12-08 15:17:26 +01:00
|
|
|
.visible-xs= render 'shared/links'
|
2014-11-02 18:16:56 +01:00
|
|
|
- else
|
2015-01-30 22:52:05 +01:00
|
|
|
= render 'static/front'
|