{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin user")}}
ID{{SortArrow "oldest" "newest" .SortType false}} | {{.locale.Tr "admin.users.name"}} {{SortArrow "alphabetically" "reversealphabetically" $.SortType true}} | {{.locale.Tr "email"}} | {{.locale.Tr "admin.users.activated"}} | {{.locale.Tr "admin.users.restricted"}} | {{.locale.Tr "admin.users.2fa"}} | {{.locale.Tr "admin.users.created"}} | {{.locale.Tr "admin.users.last_login"}} {{SortArrow "lastlogin" "reverselastlogin" $.SortType false}} | |
---|---|---|---|---|---|---|---|---|
{{.ID}} | {{.Name}} {{if .IsAdmin}} {{$.locale.Tr "admin.users.admin"}} {{end}} | {{.Email}} | {{if .IsActive}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} | {{if .IsRestricted}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} | {{if index $.UsersTwoFaStatus .ID}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} | {{DateTime "short" .CreatedUnix}} | {{if .LastLoginUnix}}{{DateTime "short" .LastLoginUnix}} | {{else}}{{$.locale.Tr "admin.users.never_login"}} | {{end}}