{{ctx.Locale.Tr
{{if .IsSigned}} {{ctx.Locale.Tr "dashboard"}} {{ctx.Locale.Tr "issues"}} {{ctx.Locale.Tr "pull_requests"}} {{if not .UnitMilestonesGlobalDisabled}} {{ctx.Locale.Tr "milestones"}} {{end}} {{ctx.Locale.Tr "explore"}} {{else}} {{ctx.Locale.Tr "explore"}} {{end}}
{{if .IsSigned}}
{{svg "octicon-plus"}}
{{svg "octicon-plus"}} {{ctx.Locale.Tr "new_repo"}} {{svg "octicon-repo-push"}} {{ctx.Locale.Tr "new_migrate"}} {{svg "octicon-organization"}} {{ctx.Locale.Tr "new_org"}}
{{avatar ctx .SignedUser 24}}
{{ctx.Locale.Tr "signed_in_as"}} {{.SignedUser.Name}}
{{svg "octicon-person"}} {{ctx.Locale.Tr "your_profile"}} {{svg "octicon-star"}} {{ctx.Locale.Tr "your_starred"}} {{svg "octicon-tools"}} {{ctx.Locale.Tr "your_settings"}} {{if .IsAdmin}}
{{svg "octicon-server"}} {{ctx.Locale.Tr "admin_panel"}} {{end}}
{{.CsrfTokenHtml}}
{{else}} {{if .ShowRegistrationButton}} {{ctx.Locale.Tr "register"}} {{end}} {{ctx.Locale.Tr "sign_in"}} {{end}}