Sha256: a69a19cac77c9fb2c0c681e06f41fd3a6901c1906f39733be18e62362b067784

Contents?: true

Size: 610 Bytes

Versions: 16

Compression:

Stored size: 610 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
-%>
<% if current_page.first? %>
  <span class="first-page disabled">
    <i class="icon ri-skip-left-line ri-fw"></i>
  </span>
<% else %>
  <%= link_to url, remote: remote, title: Alchemy.t(:first, scope: 'pagination'), class: 'first-page' do %>
    <i class="icon ri-skip-left-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/_first_page.html.erb
alchemy_cms-7.1.11 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.10 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.9 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.8 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.7 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.6 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.5 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.4 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.3 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.2 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.1 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.0 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.0.pre.rc1 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.0.pre.b2 app/views/kaminari/alchemy/_first_page.html.erb
alchemy_cms-7.1.0.pre.b1 app/views/kaminari/alchemy/_first_page.html.erb