{{if .AllowPrincipals}}

{{ctx.Locale.Tr "settings.manage_ssh_principals"}}
{{if not .DisableSSH}} {{else}} {{end}}

{{ctx.Locale.Tr "settings.principal_desc"}}
{{range .Principals}}
{{svg "octicon-key" 32}}
{{.Name}}

{{ctx.Locale.Tr "settings.added_on" (DateUtils.AbsoluteShort .CreatedUnix)}} — {{svg "octicon-info" 16}} {{if .HasUsed}}{{ctx.Locale.Tr "settings.last_used"}} {{DateUtils.AbsoluteShort .UpdatedUnix}}{{else}}{{ctx.Locale.Tr "settings.no_activity"}}{{end}}

{{end}}

{{ctx.Locale.Tr "settings.add_new_principal"}}

{{.CsrfTokenHtml}}
{{end}}