summaryrefslogtreecommitdiffstats
path: root/templates/mail/issue/assigned.tmpl
blob: f8ad62ae566e4bf0d1a7889bd9670aa35a340114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
	<style>
		.footer { font-size:small; color:#666;}
	</style>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

{{$repo_url := HTMLFormat "<a href='%s'>%s</a>" .Issue.Repo.HTMLURL .Issue.Repo.FullName}}
{{$link := HTMLFormat "<a href='%s'>#%d</a>" .Link .Issue.Index}}
<body>
	<p>
		{{if .IsPull}}
			{{.locale.Tr "mail.issue_assigned.pull" .Doer.Name $link $repo_url}}
		{{else}}
			{{.locale.Tr "mail.issue_assigned.issue" .Doer.Name $link $repo_url}}
		{{end}}
	</p>
	<div class="footer">
		<p>
			---
			<br>
			<a href="{{.Link}}">{{.locale.Tr "mail.view_it_on" AppName}}</a>.
		</p>
	</div>
</body>
</html>