File tree Expand file tree Collapse file tree
hwproj.front/src/components/Courses Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import {
2121 Menu ,
2222 MenuItem ,
2323 Stack ,
24+ Tooltip ,
2425 Typography
2526} from "@mui/material" ;
2627import { CourseExperimental } from "./CourseExperimental" ;
@@ -316,9 +317,20 @@ const Course: React.FC = () => {
316317 </ Grid >
317318 </ Grid >
318319 { isCourseMentor && groups . length > 0 && studentsWithoutGroup . length > 0 &&
319- < Alert severity = "info" style = { { marginBottom : 15 } } >
320- Студентов, не записанных в группу: { studentsWithoutGroup . length }
321- </ Alert >
320+ < Tooltip
321+ title = {
322+ < Box sx = { { margin : 0 , fontSize : '0.875rem' } } >
323+ { studentsWithoutGroup . map ( s => (
324+ < div key = { s . userId } > { `${ s . surname ?? "" } ${ s . name ?? "" } / ${ s . email ?? "" } ` . trim ( ) } </ div >
325+ ) ) }
326+ </ Box >
327+ }
328+ arrow
329+ >
330+ < Alert severity = "info" style = { { marginBottom : 15 , cursor : 'pointer' } } >
331+ Студентов, не записанных в группу: { studentsWithoutGroup . length }
332+ </ Alert >
333+ </ Tooltip >
322334 }
323335 < Tabs
324336 style = { { marginBottom : 10 } }
You can’t perform that action at this time.
0 commit comments