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