mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 18:12:17 +00:00
60aa763c51
Introduced by Rename Str2html to SanitizeHTML and clarify its behavior (followup)
22 lines
560 B
Go HTML Template
22 lines
560 B
Go HTML Template
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>{{.Subject}}</title>
|
|
|
|
<style>
|
|
blockquote { padding-left: 1em; margin: 1em 0; border-left: 1px solid grey; color: #777}
|
|
.footer { font-size:small; color:#666;}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<ul>
|
|
<h3>{{.Locale.Tr "mail.admin.new_user.user_info"}}: <a href="{{.NewUserUrl}}">@{{.NewUser.Name}}</a></h3>
|
|
<li>{{.Locale.Tr "admin.users.created"}}: {{DateTime "full" .NewUser.CreatedUnix}}</li>
|
|
</ul>
|
|
<p> {{.Body | SanitizeHTML}} </p>
|
|
</body>
|
|
</html>
|