{{template "base" .}} {{- define "page_body"}}

My profile

{{- template "errmsg" .Error}}
{{- if .LoggedUser.CanManagePublicKeys}}

Public keys

{{- template "infomsg-no-mb" "general.pub_keys_help"}}
{{- range $idx, $val := .PublicKeys}}
{{- else}} {{- end}}
{{- end}} {{- if .LoggedUser.CanManageTLSCerts}}

TLS certificates

{{- template "infomsg-no-mb" "user.tls_certs_help"}}
{{- range $idx, $val := .TLSCerts}}
{{- else}} {{- end}}
{{- end}} {{if .CanSubmit}}
{{- end}}
{{- end}} {{- define "extra_js"}} {{- if or .LoggedUser.CanManagePublicKeys .LoggedUser.CanManageTLSCerts}} {{- end}} {{- end}}