{{template "base/head" .}}
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "repo.settings.deploy_keys"}}
{{.i18n.Tr "repo.settings.add_deploy_key"}}

{{if .Deploykeys}}
{{range .Deploykeys}}
{{.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}}
{{else}} {{.i18n.Tr "repo.settings.no_deploy_keys"}} {{end}}

{{.i18n.Tr "repo.settings.deploy_keys_helper" AppSubURL "/user/settings/ssh" | Safe}}

{{.i18n.Tr "repo.settings.add_deploy_key"}}

{{.CSRFTokenHTML}}
{{.i18n.Tr "repo.settings.deploy_key_desc"}}
{{template "base/footer" .}}