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