mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 05:07:58 +01:00
32 lines
644 B
Cheetah
32 lines
644 B
Cheetah
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<title>{{.Subject}}</title>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
{{if .IsMention}}<p>@{{.Doer.Name}} mentioned you:</p>{{end}}
|
||
|
<p>
|
||
|
{{- if eq .Body ""}}
|
||
|
{{if eq .ActionName "new"}}
|
||
|
Created #{{.Issue.Index}}.
|
||
|
{{else if eq .ActionName "close"}}
|
||
|
Closed #{{.Issue.Index}}.
|
||
|
{{else if eq .ActionName "reopen"}}
|
||
|
Reopened #{{.Issue.Index}}.
|
||
|
{{else}}
|
||
|
Empty comment on #{{.Issue.Index}}.
|
||
|
{{end}}
|
||
|
{{else}}
|
||
|
{{.Body | Str2html}}
|
||
|
{{end -}}
|
||
|
</p>
|
||
|
<p>
|
||
|
---
|
||
|
<br>
|
||
|
<a href="{{.Link}}">View it on {{AppName}}</a>.
|
||
|
</p>
|
||
|
</body>
|
||
|
</html>
|