Sha256: 53af03a9f93751c1e1d236e969b2dbc7d87518ffdea9d76e81ed9b68b9e625d5

Contents?: true

Size: 606 Bytes

Versions: 16

Compression:

Stored size: 606 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
-%>
<% if current_page.last? %>
  <span class="last-page disabled">
    <i class="icon ri-skip-right-line ri-fw"></i>
  </span>
<% else %>
  <%= link_to url, remote: remote, title: Alchemy.t(:last, scope: 'pagination'), class: 'last-page' do %>
    <i class="icon ri-skip-right-line ri-fw"></i>
  <% end %>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-7.1.12 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.11 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.10 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.9 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.8 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.7 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.6 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.5 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.4 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.3 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.2 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.1 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.0 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.0.pre.rc1 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.0.pre.b2 app/views/kaminari/alchemy/_last_page.html.erb
alchemy_cms-7.1.0.pre.b1 app/views/kaminari/alchemy/_last_page.html.erb