Sha256: 344366649c666a2d807bc7decf10e913b605eb8f760bb1bbbac7755216766a7d

Contents?: true

Size: 563 Bytes

Versions: 26

Compression:

Stored size: 563 Bytes

Contents

<%# Link showing page number
  - available local variables
    page:          a page object for "this" page
    url:           url to this page
    current_page:  a page object for the currently displayed page
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<span class="page<%= ' current' if page.current? %>">
  <%= link_to_unless page.current?, number_with_delimiter(page.to_s), url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
</span>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
blacklight-3.8.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.8.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.8.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.7.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.7.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.7.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.6.1.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.6.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.5.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.4.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.4.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.4.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.3.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.3.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.3.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.2.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.2.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.2.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.2.0pre2 app/views/kaminari/blacklight/_page.html.erb
blacklight-3.2.0pre1 app/views/kaminari/blacklight/_page.html.erb