1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/helpers/accounts_helper.rb

13 lines
317 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module AccountsHelper
def pagination_options
2016-10-03 07:10:17 -07:00
{
2016-11-15 14:02:57 -08: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 07:10:17 -07:00
inner_window: 1,
outer_window: 0,
2016-10-03 07:10:17 -07:00
}
end
end