File tree 2 files changed +11
-4
lines changed
site/src/pages/UsersPage/UsersTable
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { UsersTableBody } from "./UsersTableBody";
13
13
export const Language = {
14
14
usernameLabel : "User" ,
15
15
rolesLabel : "Roles" ,
16
+ groupsLabel : "Groups" ,
16
17
statusLabel : "Status" ,
17
18
lastSeenLabel : "Last Seen" ,
18
19
loginTypeLabel : "Login Type" ,
@@ -65,15 +66,19 @@ export const UsersTable: FC<React.PropsWithChildren<UsersTableProps>> = ({
65
66
< Table >
66
67
< TableHead >
67
68
< TableRow >
68
- < TableCell width = "30%" > { Language . usernameLabel } </ TableCell >
69
- < TableCell width = "40%" >
69
+ < TableCell width = "29%" > { Language . usernameLabel } </ TableCell >
70
+
71
+ < TableCell width = "29%" >
70
72
< Stack direction = "row" spacing = { 1 } alignItems = "center" >
71
73
< span > { Language . rolesLabel } </ span >
72
74
< UserRoleHelpTooltip />
73
75
</ Stack >
74
76
</ TableCell >
75
- < TableCell width = "15%" > { Language . loginTypeLabel } </ TableCell >
76
- < TableCell width = "15%" > { Language . statusLabel } </ TableCell >
77
+
78
+ < TableCell width = "14%" > { Language . groupsLabel } </ TableCell >
79
+ < TableCell width = "14%" > { Language . loginTypeLabel } </ TableCell >
80
+ < TableCell width = "14%" > { Language . statusLabel } </ TableCell >
81
+
77
82
{ /* 1% is a trick to make the table cell width fit the content */ }
78
83
{ canEditUsers && < TableCell width = "1%" /> }
79
84
</ TableRow >
Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ export const UsersTableBody: FC<
157
157
onUserRolesUpdate = { onUpdateUserRoles }
158
158
/>
159
159
160
+ < TableCell > 5 Groups</ TableCell >
161
+
160
162
< TableCell >
161
163
< LoginType authMethods = { authMethods ! } value = { user . login_type } />
162
164
</ TableCell >
You can’t perform that action at this time.
0 commit comments