mirror of https://gitlab.com/tildes/tildes.git
Browse Source
Paginate previously-read notifications page
Paginate previously-read notifications page
This has said that pagination is "coming soon" for quite a while. This is a bit messy in a few ways, but should do the job for now. PaginatedQuery/PaginatedResults might be good to refactor a little in the future to make this kind of thing simpler.merge-requests/40/head
Deimos
6 years ago
6 changed files with 84 additions and 23 deletions
-
1tildes/tildes/__init__.py
-
41tildes/tildes/models/comment/comment_notification_query.py
-
23tildes/tildes/models/pagination.py
-
5tildes/tildes/templates/notifications.jinja2
-
16tildes/tildes/templates/notifications_unread.jinja2
-
21tildes/tildes/views/notifications.py
Write
Preview
Loading…
Cancel
Save
Reference in new issue