add: paginate notifications/requests pages

This commit is contained in:
trisua 2025-06-02 21:39:35 -04:00
parent 4be98ead53
commit 1ac64d34ed
5 changed files with 74 additions and 6 deletions

View file

@ -128,7 +128,9 @@
("class" "red quaternary")
("onclick" "trigger('me::ip_block_question', ['{{ question[0].id }}'])")
(text "{{ text \"auth:action.ip_block\" }}")))))
(text "{% endfor %}"))))
(text "{% endfor %}")))
(text "{{ components::pagination(page=page, items=requests|length, key=\"&id=\", value=profile.id) }}"))
(script
(text "async function remove_request(id, linked_asset) {