Sha256: 2cbd7050332031808bd77f60fb42fc96de44a42843a422dc4f367de74635c55f

Contents?: true

Size: 630 Bytes

Versions: 5

Compression:

Stored size: 630 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
    total_pages:   total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<% unless current_page.last? %>
  <li class="last next page-item"><%# "next" class present for border styling in twitter bootstrap %>
    <%= link_to_unless current_page.last?, inline_svg_tag('pagination-double-arrow-right.svg', size: '13px*16px'), url, remote: remote, class: 'page-link', 'aria-label': 'Last page' %>
  </li>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_frontend-4.2.0.rc4 app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb
spree_frontend-4.2.0.rc3 app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb
spree_frontend-4.2.0.rc2 app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb
spree_frontend-4.2.0.rc1 app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb
spree_frontend-4.2.0.beta app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb