2011-02-25 03:04:59 +00:00
|
|
|
-# Link to the "Last" page
|
2011-04-27 15:36:14 +00:00
|
|
|
-# available local variables
|
|
|
|
-# url: url to the last page
|
|
|
|
-# current_page: a page object for the currently displayed page
|
2012-05-25 06:31:53 +00:00
|
|
|
-# total_pages: total number of pages
|
2011-04-27 15:36:14 +00:00
|
|
|
-# per_page: number of items to fetch per page
|
|
|
|
-# remote: data-remote
|
2011-04-16 12:46:52 +00:00
|
|
|
%span.last
|
2013-07-12 05:06:10 +00:00
|
|
|
= link_to_unless current_page.last?, t('views.pagination.last').html_safe, url, :remote => remote
|