Sha256: 10ef28a6e2014ffe8972d65850040a7210dbbf09e145e3d61a4b047fe5d23cf9

Contents?: true

Size: 542 Bytes

Versions: 95

Compression:

Stored size: 542 Bytes

Contents

<%# Link to the "Last" page
  - available local variables
    url:           url to the last 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="page-item <%= 'disabled' if current_page.last? %>">
  <%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote, class: 'page-link', aria: { label: t('views.pagination.aria.go_to_last_page') } %>
</li>

Version data entries

95 entries across 94 versions & 2 rubygems

Version Path
blacklight-8.6.1 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.40.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.6.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.5.1 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.5.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.39.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.4.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.38.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/views/kaminari/blacklight/_last_page.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.3.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.2.2 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.2.1 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.2.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.37.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.36.2 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.36.1 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.36.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-7.35.0 app/views/kaminari/blacklight/_last_page.html.erb
blacklight-8.1.0 app/views/kaminari/blacklight/_last_page.html.erb