|
|
|
@ -50,7 +50,7 @@ func getIssuesPayloadInfo(p *api.IssuePayload, linkFormatter linkFormatter, with
|
|
|
|
|
for i, user := range p.Issue.Assignees { |
|
|
|
|
list[i] = linkFormatter(setting.AppURL+url.PathEscape(user.UserName), user.UserName) |
|
|
|
|
} |
|
|
|
|
text = fmt.Sprintf("[%s] Задача назначена участику %s: %s", repoLink, strings.Join(list, ", "), titleLink) |
|
|
|
|
text = fmt.Sprintf("[%s] Задача назначена участнику %s: %s", repoLink, strings.Join(list, ", "), titleLink) |
|
|
|
|
color = greenColor |
|
|
|
|
case api.HookIssueUnassigned: |
|
|
|
|
text = fmt.Sprintf("[%s] Задача ни кому не назначена: %s", repoLink, titleLink) |
|
|
|
|