2019-10-25 08:46:37 -06:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2020-01-03 10:13:22 -07:00
|
|
|
<style>
|
|
|
|
.footer { font-size:small; color:#666;}
|
|
|
|
</style>
|
2019-10-25 08:46:37 -06:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<title>{{.Subject}}</title>
|
|
|
|
</head>
|
|
|
|
|
2023-02-06 11:09:18 -07:00
|
|
|
{{$repo_url := printf "<a href='%s'>%s</a>" (Escape .Issue.Repo.Link) (Escape .Issue.Repo.FullName)}}
|
2022-02-10 22:02:04 -07:00
|
|
|
{{$link := printf "<a href='%s'>#%d</a>" (Escape .Link) .Issue.Index}}
|
2019-10-25 08:46:37 -06:00
|
|
|
<body>
|
2021-06-23 06:33:21 -06:00
|
|
|
<p>
|
|
|
|
{{if .IsPull}}
|
2022-06-27 14:58:46 -06:00
|
|
|
{{.locale.Tr "mail.issue_assigned.pull" .Doer.Name $link $repo_url | Str2html}}
|
2021-06-23 06:33:21 -06:00
|
|
|
{{else}}
|
2022-06-27 14:58:46 -06:00
|
|
|
{{.locale.Tr "mail.issue_assigned.issue" .Doer.Name $link $repo_url | Str2html}}
|
2021-06-23 06:33:21 -06:00
|
|
|
{{end}}
|
|
|
|
</p>
|
2020-01-03 10:13:22 -07:00
|
|
|
<div class="footer">
|
2021-04-10 21:46:37 -06:00
|
|
|
<p>
|
|
|
|
---
|
|
|
|
<br>
|
2022-06-27 14:58:46 -06:00
|
|
|
<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
|
2021-04-10 21:46:37 -06:00
|
|
|
</p>
|
2020-01-03 10:13:22 -07:00
|
|
|
</div>
|
2019-10-25 08:46:37 -06:00
|
|
|
</body>
|
|
|
|
</html>
|