Sha256: 1243f781ee27a5ab1327a0aecc0dba47d713ed701a0bf39e9c658ddd4cc2c6b1

Contents?: true

Size: 669 Bytes

Versions: 5

Compression:

Stored size: 669 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?, svg_icon(name: "double-chevron-right.svg", width: '13', height: '16', classes: 'spree-icon-arrow-right mb-0'), 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_backend-4.2.0.rc4 app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb
spree_backend-4.2.0.rc3 app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb
spree_backend-4.2.0.rc2 app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb
spree_backend-4.2.0.rc1 app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb
spree_backend-4.2.0.beta app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb