mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-29 21:41:02 +00:00 
			
		
		
		
	[GITEA] notifies admins on new user registration (squash) ctx.Locale
This commit is contained in:
		
					parent
					
						
							
								aa682a5f04
							
						
					
				
			
			
				commit
				
					
						2f6329f693
					
				
			
		
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue