mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
refs #30 remove 'disabled' class
This commit is contained in:
parent
17760e718f
commit
2cc02d89fa
8 changed files with 8 additions and 8 deletions
|
@ -6,6 +6,6 @@
|
|||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
-%>
|
||||
<span class="first<%= ' disabled' if current_page.first? %>">
|
||||
<span class="first">
|
||||
<%= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, :remote => remote %>
|
||||
</span>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
num_pages: total number of pages
|
||||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
%span{:class => "first#{' disabled' if current_page.first?}"}
|
||||
%span.first
|
||||
= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, :remote => remote
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
-%>
|
||||
<span class="last<%= ' disabled' if current_page.last? %>">
|
||||
<span class="last">
|
||||
<%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote} %>
|
||||
</span>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
num_pages: total number of pages
|
||||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
%span{:class => "last#{' disabled' if current_page.last?}"}
|
||||
%span.last
|
||||
= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
-%>
|
||||
<span class="next<%= ' disabled' if current_page.last? %>">
|
||||
<span class="next">
|
||||
<%= link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, :rel => 'next', :remote => remote %>
|
||||
</span>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
num_pages: total number of pages
|
||||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
%span{:class => "next#{' disabled' if current_page.last?}"}
|
||||
%span.next
|
||||
= link_to_unless current_page.last?, raw(t 'views.pagination.next'), url, :rel => 'next', :remote => remote
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
-%>
|
||||
<span class="prev<%= ' disabled' if current_page.first? %>">
|
||||
<span class="prev">
|
||||
<%= link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote %>
|
||||
</span>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
num_pages: total number of pages
|
||||
per_page: number of items to fetch per page
|
||||
remote: data-remote
|
||||
%span{:class => "prev#{' disabled' if current_page.first?}"}
|
||||
%span.prev
|
||||
= link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote
|
||||
|
|
Loading…
Reference in a new issue