{{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.add_on"}} {{template "shared/datetime/short" (dict "Datetime" .CreatedUnix.FormatLong "Fallback" .CreatedUnix.FormatShort)}} — {{svg "octicon-info" 16}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} {{template "shared/datetime/short" (dict "Datetime" .UpdatedUnix.FormatLong "Fallback" .UpdatedUnix.FormatShort)}}{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}
{{end}}

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

{{.CsrfTokenHtml}}
{{end}}