{{if .AllowPrincipals}}

{{.i18n.Tr "settings.manage_ssh_principals"}}
{{if not .DisableSSH}}
{{.i18n.Tr "settings.add_new_principal"}}
{{else}}
{{.i18n.Tr "settings.ssh_disabled"}}
{{end}}

{{.i18n.Tr "settings.principal_desc"}}
{{range .Principals}}
{{.Name}}
{{$.i18n.Tr "settings.add_on"}} {{.CreatedUnix.FormatShort}} — {{svg "octicon-info" 16}} {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} {{.UpdatedUnix.FormatShort}}{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}
{{end}}

{{.i18n.Tr "settings.add_new_principal"}}

{{.CsrfTokenHtml}}
{{end}}