Skip to content

Commit e3a0d50

Browse files
committed
NewCourseStudents: уведомление о принятых заявках
1 parent d0bab63 commit e3a0d50

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

hwproj.front/src/components/Courses/NewCourseStudents.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react';
22
import {AccountDataDto, CourseViewModel} from '../../api/';
33
import ApiSingleton from "../../api/ApiSingleton";
44
import {FC} from "react";
5-
import {Card, CardContent, CardActions, Grid, Button, Typography} from '@mui/material';
5+
import {Card, CardContent, CardActions, Grid, Button, Typography, Alert, AlertTitle} from '@mui/material';
66

77
interface INewCourseStudentsProps {
88
course: CourseViewModel,
@@ -27,9 +27,12 @@ const NewCourseStudents: FC<INewCourseStudentsProps> = (props) => {
2727

2828
if (studentsLength === 0) {
2929
return (
30-
<div>
31-
Нет новых заявок в курс.
32-
</div>
30+
<Alert>
31+
<AlertTitle>
32+
На данный момент все заявки приняты!
33+
</AlertTitle>
34+
Уведомления о новых заявках на Ваших курсах так же будут отображены на главной странице сервиса
35+
</Alert>
3336
)
3437
}
3538
return <Grid item container spacing={1} direction={"row"} xs={"auto"}>

0 commit comments

Comments
 (0)