{{if .AllowPrincipals}}

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

{{.locale.Tr "settings.principal_desc"}}
{{range .Principals}}
{{svg "octicon-key" 36}}
{{.Name}}
{{$.locale.Tr "settings.add_on"}} — {{svg "octicon-info" 16}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} {{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}
{{end}}

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

{{.CsrfTokenHtml}}
{{end}}