active_list 6.1.4 → 6.1.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -300,7 +300,6 @@ module ActiveList
|
|
300
300
|
pagination << "<span class=\"status\">' + 'list.pagination.x_to_y_of_total'.t(x: (#{var_name(:offset)} + (#{var_name(:count)} > 0 ? 1 : 0)), y: ((#{var_name(:last)} == #{var_name(:page)}) ? #{var_name(:count)} : #{var_name(:offset)} + #{var_name(:limit)}), total: #{var_name(:count)}) + '</span>"
|
301
301
|
|
302
302
|
pagination << "<span class=\"paginator\">"
|
303
|
-
|
304
303
|
pagination << "<a href=\"#\" data-list-move-to-page=\"1\" class=\"btn first-page\"' + (#{current_page} != 1 ? '' : ' disabled=\"true\"') + '><i></i>' + ::I18n.translate('list.pagination.first') + '</a>"
|
305
304
|
pagination << "<a href=\"#\" data-list-move-to-page=\"' + (#{current_page} - 1).to_s + '\" class=\"btn previous-page\"' + (#{current_page} != 1 ? '' : ' disabled=\"true\"') + '><i></i>' + ::I18n.translate('list.pagination.previous') + '</a>"
|
306
305
|
|
@@ -313,6 +312,8 @@ module ActiveList
|
|
313
312
|
pagination << "<a href=\"#\" data-list-move-to-page=\"' + (#{last_page}).to_s + '\" class=\"btn last-page\"' + (#{current_page} != #{last_page} ? '' : ' disabled=\"true\"') + '><i></i>' + ::I18n.translate('list.pagination.last')+'</a>"
|
314
313
|
pagination << "</span>"
|
315
314
|
|
315
|
+
pagination << "</span>"
|
316
|
+
|
316
317
|
# pagination << "<span class=\"separator\"></span>"
|
317
318
|
|
318
319
|
|
data/lib/active_list/version.rb
CHANGED