summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-09-15 07:06:08 +0100
committerGitHub <noreply@github.com>2020-09-15 07:06:08 +0100
commitd5e62119872cdf2b13be31c57d5366ea2cf26fc8 (patch)
tree86fa937e29128dcd63e44e3908a4b53cfb0d37ad
parent342e49e325a0f750fd596c85498719e3c922f29b (diff)
downloadgitea-d5e62119872cdf2b13be31c57d5366ea2cf26fc8.tar.gz
gitea-d5e62119872cdf2b13be31c57d5366ea2cf26fc8.zip
Fix notifications page links (#12838)
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)
}