{{template "admin/navbar" .}}
{{template "base/alert" .}}
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.admin"}} |
{{.locale.Tr "admin.users.restricted"}} |
{{.locale.Tr "admin.users.2fa"}} |
{{.locale.Tr "admin.users.repos"}} |
{{.locale.Tr "admin.users.created"}} |
{{.locale.Tr "admin.users.last_login"}}
{{SortArrow "lastlogin" "reverselastlogin" $.SortType false}}
|
{{.locale.Tr "admin.users.edit"}} |
{{range .Users}}
{{.ID}} |
{{.Name}} |
{{.Email}} |
{{if .IsActive}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} |
{{if .IsAdmin}}{{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}} |
{{.NumRepos}} |
|
{{if .LastLoginUnix}}
|
{{else}}
{{$.locale.Tr "admin.users.never_login"}} |
{{end}}
{{svg "octicon-pencil"}} |
{{end}}
{{template "base/paginate" .}}
{{template "base/footer" .}}