forgejo/routers/web/user
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
..
setting Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
avatar.go Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
code.go Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
home.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
home_test.go Add a simple test for external renderer (#20033) 2022-12-12 20:45:21 +08:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Fix notification list bugs (#25781) (#25787) 2023-07-09 19:15:00 +00:00
package.go Redirect to package after version deletion (#25594) (#25599) 2023-06-30 00:14:57 +02:00
profile.go Fix profile render when the README.md size is larger than 1024 bytes (#25270) 2023-06-15 01:39:34 +00:00
search.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
stop_watch.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
task.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00