fix: make sure the full task is available in notifications
This commit is contained in:
parent
f46c1c5d13
commit
c2b6119434
2 changed files with 7 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ type TaskAssignedNotification struct {
|
|||
func (n *TaskAssignedNotification) ToMail() *notifications.Mail {
|
||||
return notifications.NewMail().
|
||||
Subject(n.Task.Title+"("+n.Task.GetFullIdentifier()+")"+" has been assigned to "+n.Assignee.GetName()).
|
||||
Line(n.Doer.GetName()+" has assigned this task to "+n.Assignee.GetName()).
|
||||
Line(n.Doer.GetName()+" has assigned this task to "+n.Assignee.GetName()+".").
|
||||
Action("View Task", n.Task.GetFrontendURL())
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue