{{ .locale.Tr "settings.email" }}
{{ .locale.Tr "settings.email-help" }}
{{ .locale.Tr "settings.link-accounts" }}
{{ if .githubOauth }}
{{ if .userLogged.GithubID }}
{{ .locale.Tr "settings.unlink-github-account" }}
{{ else }}
{{ .locale.Tr "settings.link-github-account" }}
{{ end }}
{{ end }}
{{ if .giteaOauth }}
{{ if .userLogged.GiteaID }}
{{ .locale.Tr "settings.unlink-gitea-account" }}
{{ else }}
{{ .locale.Tr "settings.link-gitea-account" }}
{{ end }}
{{ end }}
{{ if .oidcOauth }}
{{ if .userLogged.OIDCID }}
Unlink OpenID account
{{ else }}
Link OpenID account
{{ end }}
{{ end }}
{{ .locale.Tr "settings.delete-account" }}
{{ .locale.Tr "settings.add-ssh-key" }}
{{ .locale.Tr "settings.add-ssh-key-help" }}
-
{{ if .sshKeys }}
{{ range $key := .sshKeys }}
-
{{ .Title }}
SHA256:{{.SHA}}
{{ $.locale.Tr "settings.ssh-key-added-at" }}
{{ if eq .LastUsedAt 0 }}{{ $.locale.Tr "settings.ssh-key-never-used" }}
{{ else }}{{ $.locale.Tr "settings.ssh-key-last-used" }}
{{ end }}
{{ end }}
{{ end }}