{{/* 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}}
{{$providerData := index $.OAuth2Providers $loginSource.Name}}
{{$providerData.IconHTML 20}}
{{$loginSource.Name}} {{if $loginSource.IsActive}} {{ctx.Locale.Tr "repo.settings.active"}} {{end}}
{{end}}
{{end}}