summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/post.go2
-rw-r--r--i18n/en.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/post.go b/api/post.go
index 5f9c7e584..6641a5f9b 100644
--- a/api/post.go
+++ b/api/post.go
@@ -692,7 +692,7 @@ func sendNotificationEmail(c *Context, post *model.Post, user *model.User, chann
bodyPage := utils.NewHTMLTemplate("post_body", user.Locale)
bodyPage.Props["SiteURL"] = c.GetSiteURL()
bodyPage.Props["PostMessage"] = model.ClearMentionTags(post.Message)
- bodyPage.Props["TeamLink"] = teamURL + "/channels/" + channel.Name
+ bodyPage.Props["TeamLink"] = teamURL + "/pl/" + post.Id
bodyPage.Props["BodyText"] = bodyText
bodyPage.Props["Button"] = userLocale("api.templates.post_body.button")
bodyPage.Html["Info"] = template.HTML(userLocale("api.templates.post_body.info",
diff --git a/i18n/en.json b/i18n/en.json
index 4e36fb8dd..b6c9e91cc 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1429,7 +1429,7 @@
},
{
"id": "api.templates.post_body.button",
- "translation": "Go To Channel"
+ "translation": "Go To Post"
},
{
"id": "api.templates.post_body.info",