mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 03:22:13 +02:00
8 lines
No EOL
315 B
Text
8 lines
No EOL
315 B
Text
$('#timeline').append('<% @timeline.each do |answer|
|
|
%><%= j render 'inbox/entry', a: answer
|
|
%><% end %>');
|
|
<% if @timeline.next_page %>
|
|
$('#pagination').html('<%= j will_paginate @inbox, renderer: BootstrapPagination::Rails, page_links: false %>');
|
|
<% else %>
|
|
$('#pagination, #load-more-btn').remove();
|
|
<% end %> |