summaryrefslogtreecommitdiffstats
path: root/templates/mail/issue/assigned.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mail/issue/assigned.tmpl')
-rw-r--r--templates/mail/issue/assigned.tmpl28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/mail/issue/assigned.tmpl b/templates/mail/issue/assigned.tmpl
new file mode 100644
index 00000000..f8ad62ae
--- /dev/null
+++ b/templates/mail/issue/assigned.tmpl
@@ -0,0 +1,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>