added parent <div/>s for pagination sections to make aligning it easier/more sensible when grouped
changed symbols from » to › (for forward/next navigation) and from « to ‹ (for backward/previous navigation) as IMHO it's more sensible (single character indicates shorter jump while double character indicates bigger jump; AFAIK it's quite common practice when doing navigation)
I wasn't sure how to handle i18n and I added the items to all lang files
One thing that works "iffy" right now is marking last page as read - when that happens when last page is marked as read - currently it goes to first page. I was thinking that if offset > total/unread it should go to the last available page, but even though this results in "There are no unread entries." (currently) as it has offset same as total/unread. One solution would be to add pagination to internal/template/templates/views/unread_entries.html and internal/template/templates/views/feed_entries.html which makes it possible to go to previous page easily (I have it locally and it it "is working" but it feels kinda hacky…)
Do you follow the guidelines?
I tried to solve #1629 and #1867
I made a couple of changes:
<div/>
s for pagination sections to make aligning it easier/more sensible when grouped»
to›
(for forward/next navigation) and from«
to‹
(for backward/previous navigation) as IMHO it's more sensible (single character indicates shorter jump while double character indicates bigger jump; AFAIK it's quite common practice when doing navigation)One thing that works "iffy" right now is marking last page as read - when that happens when last page is marked as read - currently it goes to first page. I was thinking that if
offset > total/unread
it should go to the last available page, but even though this results in "There are no unread entries." (currently) as it has offset same as total/unread. One solution would be to add pagination tointernal/template/templates/views/unread_entries.html
andinternal/template/templates/views/feed_entries.html
which makes it possible to go to previous page easily (I have it locally and it it "is working" but it feels kinda hacky…)