Fix notifications page links (#12838) (#12853)

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath 2020-09-15 17:53:30 +01:00 committed by GitHub
parent 6305f07fdc
commit 408db95dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,6 +174,7 @@ func NotificationStatusPost(c *context.Context) {
if c.Written() { if c.Written() {
return return
} }
c.Data["Link"] = fmt.Sprintf("%snotifications", setting.AppURL)
c.HTML(http.StatusOK, tplNotificationDiv) c.HTML(http.StatusOK, tplNotificationDiv)
} }