mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
		@@ -34,6 +34,7 @@ func Account(ctx *context.Context) {
 | 
			
		||||
	ctx.Data["Title"] = ctx.Tr("settings")
 | 
			
		||||
	ctx.Data["PageIsSettingsAccount"] = true
 | 
			
		||||
	ctx.Data["Email"] = ctx.Doer.Email
 | 
			
		||||
	ctx.Data["EnableNotifyMail"] = setting.Service.EnableNotifyMail
 | 
			
		||||
 | 
			
		||||
	loadAccountData(ctx)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -43,6 +43,7 @@
 | 
			
		||||
		</h4>
 | 
			
		||||
		<div class="ui attached segment">
 | 
			
		||||
			<div class="ui email list">
 | 
			
		||||
				{{if $.EnableNotifyMail}}
 | 
			
		||||
				<div class="item">
 | 
			
		||||
					<form action="{{AppSubUrl}}/user/settings/account/email" class="ui form" method="post">
 | 
			
		||||
						{{.i18n.Tr "settings.email_desc"}}
 | 
			
		||||
@@ -69,6 +70,7 @@
 | 
			
		||||
						</div>
 | 
			
		||||
					</form>
 | 
			
		||||
				</div>
 | 
			
		||||
				{{end}}
 | 
			
		||||
				{{range .Emails}}
 | 
			
		||||
					<div class="item">
 | 
			
		||||
						{{if not .IsPrimary}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user