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