{{template "base/head" .}}
{{template "user/settings/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "settings.manage_ssh_keys"}}
{{.i18n.Tr "settings.add_key"}}

{{.i18n.Tr "settings.ssh_desc"}}
{{range .Keys}}
{{.Name}}
{{.Fingerprint}}
{{$.i18n.Tr "settings.add_on"}} {{DateFmtShort .Created}} {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} {{DateFmtShort .Updated}}{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}
{{end}}

{{.i18n.Tr "settings.ssh_helper" "https://help.github.com/articles/generating-ssh-keys" "https://help.github.com/ssh-issues/" | Str2html}}

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

{{.CSRFTokenHTML}}
{{template "base/footer" .}}