闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
317 B

  1. # frozen_string_literal: true
  2. module AccountsHelper
  3. def pagination_options
  4. {
  5. previous_label: safe_join([fa_icon('chevron-left'), t('pagination.prev')], ' '),
  6. next_label: safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '),
  7. inner_window: 1,
  8. outer_window: 0,
  9. }
  10. end
  11. end