{{.i18n.Tr "settings.manage_ssh_keys"}}
{{if not .DisableSSH }}
{{.i18n.Tr "settings.add_key"}}
{{else}}
{{.i18n.Tr "settings.ssh_disabled"}}
{{end}}

{{.i18n.Tr "settings.ssh_desc"}}
{{range $index, $key := .Keys}}
{{svg "octicon-key" 32}}
{{.Name}}
{{.Fingerprint}}
{{$.i18n.Tr "settings.add_on"}} {{.CreatedUnix.FormatShort}} — {{svg "octicon-info"}} {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} {{.UpdatedUnix.FormatShort}}{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}
{{end}}

{{.i18n.Tr "settings.ssh_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/connecting-to-github-with-ssh" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/troubleshooting-ssh" | Str2html}}

{{.i18n.Tr "settings.add_new_key"}}

{{.CsrfTokenHtml}}