Add highlight
This commit is contained in:
parent
4e507306ea
commit
e3825fed2d
|
@ -77,7 +77,7 @@ func (n *TaskCommentNotification) ToMail() *notifications.Mail {
|
|||
subject := "Re: " + n.Task.Title
|
||||
if n.Mentioned {
|
||||
subject = n.Doer.GetName() + ` mentioned you in a comment in "` + n.Task.Title + `"`
|
||||
mail.Line(n.Doer.GetName() + " mentioned you in a comment:")
|
||||
mail.Line("**" + n.Doer.GetName() + "** mentioned you in a comment:")
|
||||
}
|
||||
|
||||
mail.Subject(subject)
|
||||
|
@ -282,7 +282,7 @@ func (n *UserMentionedInTaskNotification) ToMail() *notifications.Mail {
|
|||
mail := notifications.NewMail().
|
||||
From(n.Doer.GetNameAndFromEmail()).
|
||||
Subject(subject).
|
||||
Line(n.Doer.GetName() + " mentioned you in a task:")
|
||||
Line("**" + n.Doer.GetName() + "** mentioned you in a task:")
|
||||
|
||||
lines := bufio.NewScanner(strings.NewReader(n.Task.Description))
|
||||
for lines.Scan() {
|
||||
|
|
Loading…
Reference in New Issue