]> cat aescling's git repositories - mastodon.git/commit
Fix prev/next links on public profile page (#6497)
authorIan McCowan <imccowan@gmail.com>
Mon, 26 Feb 2018 02:31:28 +0000 (18:31 -0800)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 26 Feb 2018 02:31:28 +0000 (03:31 +0100)
commitc33931b613c7da4cc2c22ff8411c38556dc579cb
tree87b59f8a474cddad9d888b1f6499daf52da9fd2a
parent5cc716688abdf7eaafc58d804209510601190791
Fix prev/next links on public profile page (#6497)

* Fix prev/next links on public profile page

* Don't make pagination urls if no available statuses

* Fix empty check method

* Put left chevron before prev page link

* Add scope for pagination "starting at" a given id

* Status pagination try 2:

s/prev/older and s/next/newer
"older" on left, "newer" on right
Use new scope for "newer" link
Extract magic 20 page size to constant
Remove max_id from feed pagination as it's not respected

* Reinstate max_id for accounts atom stream

* normalize
app/controllers/accounts_controller.rb
app/javascript/styles/mastodon/accounts.scss
app/models/concerns/paginable.rb
app/views/accounts/show.html.haml
config/locales/en.yml