[obs-commits] [openSUSE/open-build-service] 4be3cc: Add pagination to notifications using Kaminari gem
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 4be3cce85feeab9124ee612cc6869b43a52afa82 https://github.com/openSUSE/open-build-service/commit/4be3cce85feeab9124ee61... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M src/api/app/controllers/webui/users/notifications_controller.rb M src/api/app/views/webui/kaminari/_paginator.html.haml M src/api/app/views/webui/users/notifications/index.html.haml M src/api/config/locales/kaminari.en.yml Log Message: ----------- Add pagination to notifications using Kaminari gem Co-authored-by: David Kang <dkang@suse.com> Commit: 70280ac01ab33c1022725ad35d08b68528b35658 https://github.com/openSUSE/open-build-service/commit/70280ac01ab33c1022725a... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M src/api/app/controllers/webui/users/notifications_controller.rb A src/api/app/helpers/webui/notification_helper.rb M src/api/app/views/webui/users/notifications/index.html.haml Log Message: ----------- Allow showing the notifications all at once Add a link to show all the notifications in the same page. There is a limit, MAX_PER_PAGE. In case of exceeding this number, a flash message will be shown and the results will be paginated with MAX_PER_PAGE notifications per page. This makes it easier for users to search texts on the list. Commit: 728870340b62acad4c0b676042c24027a9ce0aff https://github.com/openSUSE/open-build-service/commit/728870340b62acad4c0b67... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M src/api/app/controllers/webui/users/notifications_controller.rb A src/api/app/helpers/webui/notification_helper.rb M src/api/app/views/webui/kaminari/_paginator.html.haml M src/api/app/views/webui/users/notifications/index.html.haml M src/api/config/locales/kaminari.en.yml Log Message: ----------- Merge pull request #9389 from saraycp/paginate_notifications Add pagination to notifications Compare: https://github.com/openSUSE/open-build-service/compare/9d330ce198f1...728870...
participants (1)
-
Henne Vogelsang