{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings profile")}}

{{ctx.Locale.Tr "settings.public_profile"}}

{{ctx.Locale.Tr "settings.profile_desc"}}

{{.CsrfTokenHtml}}
{{if or (not .SignedUser.IsLocal) .IsReverseProxy}}

{{ctx.Locale.Tr "settings.password_username_disabled"}}

{{end}}

{{.SignedUser.Email}}

{{template "shared/combomarkdowneditor" (dict "MarkdownPreviewUrl" (printf "%s/-/markup" .SignedUser.HomeLink) "MarkdownPreviewContext" .SignedUser.HomeLink "MarkdownPreviewMode" "markdown" "TextareaName" "biography" "TextareaContent" .SignedUser.Description "TextareaPlaceholder" (ctx.Locale.Tr "settings.biography_placeholder") "TextareaMaxLength" 255 "HideRepoButtons" true )}}
{{ctx.Locale.Tr "settings.keep_email_private_popup" .SignedUser.GetPlaceholderEmail}}
{{ctx.Locale.Tr "settings.keep_activity_private.description" (printf "/%s?tab=activity" .SignedUser.Name)}}

{{ctx.Locale.Tr "settings.avatar"}}

{{.CsrfTokenHtml}} {{if not .DisableGravatar}}
{{end}}
{{template "user/settings/layout_footer" .}}