{{template "base/alert" .}}
{{template "base/paginate" .}}
{{.i18n.Tr "admin.users.user_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
ID{{SortArrow "oldest" "newest" .SortType false}} | {{.i18n.Tr "admin.users.name"}} {{SortArrow "alphabetically" "reversealphabetically" $.SortType true}} | {{.i18n.Tr "email"}} | {{.i18n.Tr "admin.users.activated"}} | {{.i18n.Tr "admin.users.admin"}} | {{.i18n.Tr "admin.users.restricted"}} | {{.i18n.Tr "admin.users.2fa"}} | {{.i18n.Tr "admin.users.repos"}} | {{.i18n.Tr "admin.users.created"}} | {{.i18n.Tr "admin.users.last_login"}} {{SortArrow "leastupdate" "recentupdate" $.SortType false}} | {{.i18n.Tr "admin.users.edit"}} | |
---|---|---|---|---|---|---|---|---|---|---|---|
{{.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}} | {{.CreatedUnix.FormatShort}} | {{if .LastLoginUnix}}{{.LastLoginUnix.FormatShort}} | {{else}}{{$.i18n.Tr "admin.users.never_login"}} | {{end}}{{svg "octicon-pencil"}} |