From ddd3586c06d81d8732dd96498b63de029f30349e Mon Sep 17 00:00:00 2001 From: zeripath Date: Thu, 30 Sep 2021 00:20:18 +0100 Subject: Fix missing repo link in issue/pull assigned emails (#17183) There was a mistake in the template file: `templates/mail/issue/assigned.tmpl` where the repourl was generated from a non-existent release instead of the issue. This PR changes this to use the issue but also ensure that the issue repo is loaded. It also slightly improves the English locale string. Fix #17160 Signed-off-by: Andrew Thornton Co-authored-by: delvh --- templates/mail/issue/assigned.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/mail') diff --git a/templates/mail/issue/assigned.tmpl b/templates/mail/issue/assigned.tmpl index 61e4a44f02..1c3b930978 100644 --- a/templates/mail/issue/assigned.tmpl +++ b/templates/mail/issue/assigned.tmpl @@ -8,7 +8,7 @@ {{.Subject}} -{{$repo_url := printf "%s" .Release.Repo.HTMLURL .Release.Repo.FullName}} +{{$repo_url := printf "%s" .Issue.Repo.HTMLURL .Issue.Repo.FullName}} {{$link := printf "#%d" .Link .Issue.Index}}

-- cgit v1.2.3