mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
Show 2FA info on Admin Pannel: Users List (#12515)
This commit is contained in:
parent
a5440fcb1e
commit
dcb543ac2a
4 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
<th>{{.i18n.Tr "admin.users.activated"}}</th>
|
||||
<th>{{.i18n.Tr "admin.users.admin"}}</th>
|
||||
<th>{{.i18n.Tr "admin.users.restricted"}}</th>
|
||||
<th>{{.i18n.Tr "admin.users.2fa"}}</th>
|
||||
<th>{{.i18n.Tr "admin.users.repos"}}</th>
|
||||
<th>{{.i18n.Tr "admin.users.created"}}</th>
|
||||
<th data-sortt-asc="recentupdate" data-sortt-desc="leastupdate">
|
||||
|
@ -43,6 +44,7 @@
|
|||
<td><i class="fa fa{{if .IsActive}}-check{{end}}-square-o"></i></td>
|
||||
<td><i class="fa fa{{if .IsAdmin}}-check{{end}}-square-o"></i></td>
|
||||
<td><i class="fa fa{{if .IsRestricted}}-check{{end}}-square-o"></i></td>
|
||||
<td><i class="fa fa{{if index $.UsersTwoFaStatus .ID}}-check{{end}}-square-o"></i></td>
|
||||
<td>{{.NumRepos}}</td>
|
||||
<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
|
||||
{{if .LastLoginUnix}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue