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
parent
5cc71668
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/controllers/accounts_controller.rb 29 ajouts, 7 suppressionsapp/controllers/accounts_controller.rb
- app/javascript/styles/mastodon/accounts.scss 8 ajouts, 8 suppressionsapp/javascript/styles/mastodon/accounts.scss
- app/models/concerns/paginable.rb 9 ajouts, 0 suppressionapp/models/concerns/paginable.rb
- app/views/accounts/show.html.haml 5 ajouts, 2 suppressionsapp/views/accounts/show.html.haml
- config/locales/en.yml 2 ajouts, 0 suppressionconfig/locales/en.yml
Veuillez vous inscrire ou vous se connecter pour commenter