aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-09-15 17:53:30 +0100
committerGitHub <noreply@github.com>2020-09-15 17:53:30 +0100
commit408db95dc1af2f1310b1c415d642278144c8516e (patch)
treeea468f30bd3e48d22caaecc68e98a64bfdcd0cfb
parent6305f07fdc1cc4f1dc4f04108ca9ad3e1833b3f2 (diff)
downloadgitea-408db95dc1af2f1310b1c415d642278144c8516e.tar.gz
gitea-408db95dc1af2f1310b1c415d642278144c8516e.zip
Fix notifications page links (#12838) (#12853)
Signed-off-by: Andrew Thornton <art27@cantab.net>
-rw-r--r--routers/user/notification.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/user/notification.go b/routers/user/notification.go
index 9724c81088..34939d1455 100644
--- a/routers/user/notification.go
+++ b/routers/user/notification.go
@@ -174,6 +174,7 @@ func NotificationStatusPost(c *context.Context) {
if c.Written() {
return
}
+ c.Data["Link"] = fmt.Sprintf("%snotifications", setting.AppURL)
c.HTML(http.StatusOK, tplNotificationDiv)
}