Sha256: 3a36553de610baf1b67dfb7e77d9a7eda684206fbed0c320377a18adea589807

Contents?: true

Size: 531 Bytes

Versions: 47

Compression:

Stored size: 531 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
-%>
<li class="<%= 'active' if page.current? %>">
 <%= link_to number_with_delimiter(page.to_s), url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
</li>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
blacklight-4.9.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-4.8.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.7.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.5.4 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.7.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.7.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.6.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.5.3 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.5.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.5.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.5.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.4.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.4.0.rc1 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.3.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.0.3 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.1.1 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.2.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.1.0 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.0.2 app/views/kaminari/blacklight/_page.html.erb
blacklight-5.0.1 app/views/kaminari/blacklight/_page.html.erb