0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 17:34:11 -05:00
forgejo/routers
Giteabot a5a3c81412
Fix notification list bugs (#25781) (#25787)
Backport #25781 by @wxiaoguang

Fix #25627

1. `ctx.Data["Link"]` should use relative URL but not AppURL
2. The `data-params` is incorrect because it doesn't contain "page". JS
can simply use "window.location.search" to construct the AJAX URL
3. The `data-xxx` and `id` in notification_subscriptions.tmpl were
copied&pasted, they don't have affect.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-07-09 19:15:00 +00:00
..
api Test if container blob is accessible before mounting (#22759) (#25784) 2023-07-09 12:00:04 +00:00
common Fix admin config page error, use tests to cover the admin config and 500 error page (#24965) 2023-05-29 15:00:21 +00:00
install Refactor path & config system (#25330) (#25416) 2023-06-22 16:27:18 +00:00
private Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix notification list bugs (#25781) (#25787) 2023-07-09 19:15:00 +00:00
init.go Refactor path & config system (#25330) (#25416) 2023-06-22 16:27:18 +00:00