feat: add accept-invitation page

This commit is contained in:
Ali BARIN
2024-07-09 11:46:31 +00:00
committed by Faruk AYDIN
parent 3c3e6e4144
commit 9922033d33
13 changed files with 225 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
import * as React from 'react';
import { Link } from 'react-router-dom';
import Stack from '@mui/material/Stack';
import Chip from '@mui/material/Chip';
import Table from '@mui/material/Table';
import TableBody from '@mui/material/TableBody';
import TableCell from '@mui/material/TableCell';
@@ -64,6 +65,15 @@ export default function UserList() {
</Typography>
</TableCell>
<TableCell component="th">
<Typography
variant="subtitle1"
sx={{ color: 'text.secondary', fontWeight: 700 }}
>
{formatMessage('userList.status')}
</Typography>
</TableCell>
<TableCell component="th" />
</TableRow>
</TableHead>
@@ -100,6 +110,12 @@ export default function UserList() {
</Typography>
</TableCell>
<TableCell>
<Typography variant="subtitle2" data-test="user-status">
<Chip label={user.status} variant="outlined" color={user.status === 'active' ? 'success' : 'warning'} />
</Typography>
</TableCell>
<TableCell>
<Stack direction="row" gap={1} justifyContent="right">
<IconButton