about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorIan McCowan <imccowan@gmail.com>2018-02-25 18:31:28 -0800
committerEugen Rochko <eugen@zeonfederated.com>2018-02-26 03:31:28 +0100
commitc33931b613c7da4cc2c22ff8411c38556dc579cb (patch)
tree87b59f8a474cddad9d888b1f6499daf52da9fd2a /config
parent5cc716688abdf7eaafc58d804209510601190791 (diff)
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
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 071c41290..026426c84 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -545,7 +545,9 @@ en:
           trillion: T
           unit: ''
   pagination:
+    newer: Newer
     next: Next
+    older: Older
     prev: Prev
     truncate: "&hellip;"
   preferences: