Sha256: e6bb7b94e4ca4e1a3d5d2b00093de32e3bffb4b6b1b7461553f26d4f59305f99

Contents?: true

Size: 548 Bytes

Versions: 95

Compression:

Stored size: 548 Bytes

Contents

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

Version data entries

95 entries across 94 versions & 2 rubygems

Version Path
blacklight-7.8.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.7.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.6.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.5.1 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.5.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.4.2 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.4.1 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.4.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.3.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.2.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.1.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.1.0.alpha app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.0.1 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.0.0 app/views/kaminari/blacklight/_first_page.html.erb
blacklight-7.0.0.rc2 app/views/kaminari/blacklight/_first_page.html.erb