mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 20:23:32 +01:00
12 lines
317 B
Ruby
12 lines
317 B
Ruby
# frozen_string_literal: true
|
|
|
|
module AccountsHelper
|
|
def pagination_options
|
|
{
|
|
previous_label: safe_join([fa_icon('chevron-left'), t('pagination.prev')], ' '),
|
|
next_label: safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '),
|
|
inner_window: 1,
|
|
outer_window: 0,
|
|
}
|
|
end
|
|
end
|