forked from NYANDEV/forgejo
[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>
|
<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