mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 15:57:02 +00:00
[GITEA] notifies admins on new user registration (squash) ctx.Locale
This commit is contained in:
parent
aa682a5f04
commit
2f6329f693
|
@ -13,9 +13,9 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<ul>
|
<ul>
|
||||||
<h3>{{.locale.Tr "mail.admin.new_user.user_info"}}</h3>
|
<h3>{{ctx.Locale.Tr "mail.admin.new_user.user_info"}}</h3>
|
||||||
<li>{{.locale.Tr "admin.users.created"}}: {{DateTime "full" .NewUser.LastLoginUnix}}</li>
|
<li>{{ctx.Locale.Tr "admin.users.created"}}: {{DateTime "full" .NewUser.LastLoginUnix}}</li>
|
||||||
<li>{{.locale.Tr "admin.users.last_login"}}: {{DateTime "full" .NewUser.CreatedUnix}}</li>
|
<li>{{ctx.Locale.Tr "admin.users.last_login"}}: {{DateTime "full" .NewUser.CreatedUnix}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p> {{.Body | Str2html}} </p>
|
<p> {{.Body | Str2html}} </p>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue