{{/* No account links, no way to add account links: Menu will not be shown. */}} {{if or .AccountLinks .OrderedOAuth2Names}}

{{ctx.Locale.Tr "settings.manage_account_links"}} {{if .OrderedOAuth2Names}}
{{end}}

{{ctx.Locale.Tr "settings.manage_account_links_desc"}}
{{range $loginSource, $provider := .AccountLinks}}
{{with index $.OAuth2Providers $loginSource.Name}}
{{.IconHTML 20}}
{{end}}
{{$loginSource.Name}} {{if $loginSource.IsActive}} {{ctx.Locale.Tr "repo.settings.active"}} {{end}}
{{end}}
{{end}}