{{define "admin/groups_list.html"}} {{template "admin_shell_open" .}}
{{html (T "admin.groups.desc_html")}}
| {{T "admin.groups.col_id"}} | {{T "admin.groups.col_slug"}} | {{T "admin.groups.col_name"}} | {{T "admin.groups.col_desc"}} | {{T "admin.groups.col_scope"}} | {{T "admin.groups.col_members"}} | {{T "admin.groups.col_perms"}} | {{T "admin.groups.col_sort"}} | {{T "admin.groups.col_status"}} | {{T "admin.groups.col_actions"}} |
|---|---|---|---|---|---|---|---|---|---|
| {{$id}}{{if eq $gid 1}} {{T "admin.groups.badge_system"}}{{end}} | {{index . "slug"}} |
{{index . "name"}} | {{if index . "description"}}{{index . "description"}}{{else}}—{{end}} | {{if eq (asInt (index . "categories_scope_mode")) 2}}{{T "admin.groups.scope_whitelist"}}{{else}}{{T "admin.groups.scope_all"}}{{end}} | {{index . "user_count"}} | {{index . "perm_count"}} | {{index . "sort_order"}} | {{if eq (asInt (index . "status")) 1}}{{T "admin.groups.status_on"}}{{else}}{{T "admin.groups.status_off"}}{{end}} |
|
| {{T "admin.groups.empty"}} | |||||||||