Sha256: 8a8cf7de28b9e4fbd6155a637d4da37b4f27b73336625ce25b7baa5a944c511c

Contents?: true

Size: 735 Bytes

Versions: 4

Compression:

Stored size: 735 Bytes

Contents

<%count = count || 50 %>
<%if  start - count >= 0 || start + count <= size%>
<p class='pagination'>
  <% if start - count >= 0 %>
    <% if params[:q].nil? %>
      <a href="<%= current_page %>?start=<%= start - count %>" class='less'>&laquo; less</a>
    <% else %>
      <a href="<%= current_page %>?start=<%= start - count %>&amp;q=<%= params[:q] %>" class='less'>&laquo; less</a>
    <% end %>
  <% end %>
  <% if start + count <= size %>
    <% if params[:q].nil? %>
      <a href="<%= current_page %>?start=<%= start + count %>" class='more'>more &raquo;</a>
    <% else %>
      <a href="<%= current_page %>?start=<%= start + count %>&amp;q=<%= params[:q] %>" class='more'>more &raquo;</a>
    <% end %>
  <% end %>
</p>
<%end%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nfo-resque-mongo-1.17.2 lib/resque/server/views/next_more.erb
nfo-resque-mongo-1.17.1 lib/resque/server/views/next_more.erb
nfo-resque-mongo-1.15.1 lib/resque/server/views/next_more.erb
nfo-resque-mongo-1.15.0 lib/resque/server/views/next_more.erb