{{define "title"}}{{t "home.account.title"}}{{end}} {{define "content"}}{{template "account-header" .}}

{{t "home.account.title"}}

{{tr "session.signed_in_as" .Data.Username}}

{{if .Data.Admin}}

{{t "account.admin_link"}}

{{end}}

{{t "account.profile"}}

{{t "account.username"}}
{{id .Data.Username}}
{{t "account.display_name"}}
{{.Data.DisplayName}} {{t "account.profile.link"}}

{{t "account.groups"}}

{{range $i, $g := .Data.Groups}}{{id $g}}{{if and (eq $i 0) $.Data.Primary}} {{t "account.groups.primary"}}{{end}} {{end}}{{if .Data.More}}+{{.Data.More}} {{t "account.badges.more"}}{{end}}

{{t "ssh_keys.heading"}}

{{t "ssh_keys.intro"}}

{{template "ssh-keys" .Data.SSHKeys}}{{if or .Data.Google .Data.Portdistrict}}

{{t "account.credentials"}}

{{end}}{{if .Data.Google}}

{{t "account.google"}}

{{if .Data.GoogleLinked}}

{{t "account.google.linked"}} {{t "account.google.since"}} {{.Data.GoogleSince}}

{{else}}

{{t "account.google.none"}}

{{end}}{{end}}{{if .Data.Portdistrict}}

{{t "account.portdistrict"}}

{{t "account.portdistrict.placeholder"}}

{{end}}{{end}}