{{if .AllowPrincipals}}

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

{{.locale.Tr "settings.principal_desc"}}
{{range .Principals}}
{{svg "octicon-key" 36}}
{{.Name}}
{{$.locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix) | Safe}} — {{svg "octicon-info" 16}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} {{DateTime "short" .UpdatedUnix}}{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}
{{end}}

{{.locale.Tr "settings.add_new_principal"}}

{{.CsrfTokenHtml}}
{{end}}