mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Changing email notifications to use permalinks (#3399)
This commit is contained in:
committed by
GitHub
parent
ed75dfc6c0
commit
422e12c364
@@ -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",
|
||||
|
||||
@@ -1429,7 +1429,7 @@
|
||||
},
|
||||
{
|
||||
"id": "api.templates.post_body.button",
|
||||
"translation": "Go To Channel"
|
||||
"translation": "Go To Post"
|
||||
},
|
||||
{
|
||||
"id": "api.templates.post_body.info",
|
||||
|
||||
Reference in New Issue
Block a user