Fix missing repo link in issue/pull assigned emails #17183

Merged
lunny merged 4 commits from fix-17160-use-issue-for-repo-in-mail-templates into main 2021-09-29 23:20:18 +00:00
Contributor

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 art27@cantab.net

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 <art27@cantab.net>
noerw (Migrated from github.com) approved these changes 2021-09-29 17:19:22 +00:00
axifive (Migrated from github.com) approved these changes 2021-09-29 18:46:54 +00:00
silverwind (Migrated from github.com) approved these changes 2021-09-29 20:12:43 +00:00
6543 (Migrated from github.com) approved these changes 2021-09-29 20:27:57 +00:00
delvh approved these changes 2021-09-29 21:28:40 +00:00
Contributor
		log.Error("Unable to load repo [%d] for issue #%d [%d]. Error: %v", issue.RepoID, issue.Index, issue.ID, err)
```suggestion log.Error("Unable to load repo [%d] for issue #%d [%d]. Error: %v", issue.RepoID, issue.Index, issue.ID, err) ```
This repo is archived. You cannot comment on pull requests.
No Milestone
No project
No Assignees
3 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#17183
No description provided.