2016-11-15 15:56:29 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-02-29 18:42:08 +00:00
|
|
|
module AccountsHelper
|
2016-03-19 13:02:30 +00:00
|
|
|
def pagination_options
|
2016-10-03 15:10:17 +01:00
|
|
|
{
|
2016-11-15 22:02:57 +00:00
|
|
|
previous_label: safe_join([fa_icon('chevron-left'), t('pagination.prev')], ' '),
|
|
|
|
next_label: safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '),
|
2016-10-03 15:10:17 +01:00
|
|
|
inner_window: 1,
|
2016-11-15 15:56:29 +00:00
|
|
|
outer_window: 0,
|
2016-10-03 15:10:17 +01:00
|
|
|
}
|
2016-03-19 13:02:30 +00:00
|
|
|
end
|
2016-02-29 18:42:08 +00:00
|
|
|
end
|