Sha256: 97a0237c07c14313eb7b6111686b6d9ed5665c66c40a5a35c8554d87134f58b3

Contents?: true

Size: 520 Bytes

Versions: 38

Compression:

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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
sufia-4.0.0.beta2 app/views/kaminari/blacklight/_page.html.erb
sufia-4.0.0.beta1 app/views/kaminari/blacklight/_page.html.erb
sufia-3.7.2 app/views/kaminari/blacklight/_page.html.erb
sufia-3.7.1 app/views/kaminari/blacklight/_page.html.erb
sufia-3.7.0 app/views/kaminari/blacklight/_page.html.erb
sufia-3.6.1 app/views/kaminari/blacklight/_page.html.erb
sufia-3.6.0 app/views/kaminari/blacklight/_page.html.erb
sufia-3.5.0 app/views/kaminari/blacklight/_page.html.erb
sufia-3.4.0 app/views/kaminari/blacklight/_page.html.erb
sufia-3.4.0.rc4 app/views/kaminari/blacklight/_page.html.erb
sufia-3.4.0.rc3 app/views/kaminari/blacklight/_page.html.erb
sufia-3.3.1 app/views/kaminari/blacklight/_page.html.erb
sufia-3.4.0.rc2 app/views/kaminari/blacklight/_page.html.erb
sufia-3.4.0.rc1 app/views/kaminari/blacklight/_page.html.erb
sufia-3.3.0 app/views/kaminari/blacklight/_page.html.erb
sufia-3.2.1 app/views/kaminari/blacklight/_page.html.erb
sufia-3.1.3 app/views/kaminari/blacklight/_page.html.erb
sufia-3.1.2 app/views/kaminari/blacklight/_page.html.erb
sufia-3.1.1 app/views/kaminari/blacklight/_page.html.erb
sufia-3.1.0 app/views/kaminari/blacklight/_page.html.erb