Sha256: d58b5d0a530e8549eaacdd51a98e8a640f8d2530fc18132dcb40857463eb5483
Contents?: true
Size: 1.71 KB
Versions: 15
Compression:
Stored size: 1.71 KB
Contents
<div class="list_info clearfix"> <ul class="pagination"> <li class="summary"> <%= @paginate.first_index%> - <%= @paginate.last_index%> / <%= @paginate.total_size%> </li> <% if @paginate.max_page>1 %> <% if @paginate.first_page? %> <li class="prev off"><<newer</li> <% else %> <li class="prev"><a href="<%= @paginate.page_url(:prev)%>"><<newer</a></li> <% end %> <% 1.upto(6<@paginate.max_page ? 6 : @paginate.max_page) do |pg| %> <% if @paginate.page==pg %> <li class="current"><%=pg%></li> <% else %> <li><a href="<%= @paginate.page_url(pg)%>"><%=pg%></a></li> <% end %> <% end %> <% if @paginate.max_page > 6 %> <% if @paginate.max_page!=@paginate.page %> <% if @paginate.page>7 %> <li class="off">...</li> <% end %> <% if @paginate.page>6 %> <li class="current"><%=@paginate.page%></li> <% end %> <% end %> <% if @paginate.max_page>7 && @paginate.page+1!=@paginate.max_page %> <li class="off">...</li> <% end %> <% if @paginate.max_page==@paginate.page %> <li class="current"><%=@paginate.max_page%></li> <% else %> <li><a href="<%= @paginate.page_url(@paginate.max_page)%>"><%=@paginate.max_page%></a></li> <% end %> <% end %> <% if @paginate.last_page? %> <li class="next off">older>></li> <% else %> <li class="next"><a href="<%= @paginate.page_url(:next)%>">older>></a></li> <% end %> <% end %> </ul> <div class="dump"> <a href="<%= @dump_url%>" target="_blank">Dump</a> </div> </div>
Version data entries
15 entries across 15 versions & 3 rubygems