mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
[GITEA] notifies admins on new user registration (squash) ctx.Locale
This commit is contained in:
parent
4bb6ee71f0
commit
dab7212fad
1 changed files with 3 additions and 3 deletions
|
@ -13,9 +13,9 @@
|
|||
|
||||
<body>
|
||||
<ul>
|
||||
<h3>{{.locale.Tr "mail.admin.new_user.user_info"}}</h3>
|
||||
<li>{{.locale.Tr "admin.users.created"}}: {{DateTime "full" .NewUser.LastLoginUnix}}</li>
|
||||
<li>{{.locale.Tr "admin.users.last_login"}}: {{DateTime "full" .NewUser.CreatedUnix}}</li>
|
||||
<h3>{{ctx.Locale.Tr "mail.admin.new_user.user_info"}}</h3>
|
||||
<li>{{ctx.Locale.Tr "admin.users.created"}}: {{DateTime "full" .NewUser.LastLoginUnix}}</li>
|
||||
<li>{{ctx.Locale.Tr "admin.users.last_login"}}: {{DateTime "full" .NewUser.CreatedUnix}}</li>
|
||||
</ul>
|
||||
<p> {{.Body | Str2html}} </p>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue