Link to member pages in the Instructor Attendance panel

This commit is contained in:
2020-10-05 21:07:08 +00:00
parent de68fd79b7
commit d5b8ffa0e2
2 changed files with 11 additions and 1 deletions

View File

@@ -99,7 +99,10 @@ function AttendanceRow(props) {
return (
<div className='attendance-row'>
<p>{student.student_name}{student.attendance_status === 'Waiting for payment' && ' (Waiting for payment)'}:</p>
<p>
<Link to={'/members/'+student.student_id}>{student.student_name}</Link>
{student.attendance_status === 'Waiting for payment' && ' (Waiting for payment)'}:
</p>
<Button {...makeProps('Withdrawn')}>
Withdrawn