File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
csm_web/frontend/src/components/course Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -90,13 +90,17 @@ export const SectionCard = ({
9090 const iconWidth = "8em" ;
9191 const iconHeight = "8em" ;
9292 if ( enrollmentSuccessful ) {
93+ const inlineIconWidth = "1.3em" ;
94+ const inlineIconHeight = "1.3em" ;
9395 return (
9496 < div className = "enroll-confirm-modal-contents" >
9597 < CheckCircle height = { iconHeight } width = { iconWidth } />
9698 < h3 > Successfully enrolled</ h3 >
97- < ModalCloser >
98- < button className = "primary-btn" > OK</ button >
99- </ ModalCloser >
99+ < h4 > To view and update your profile, click the button below</ h4 >
100+ < Link className = "primary-btn" to = "/profile" >
101+ < UserIcon width = { inlineIconWidth } height = { inlineIconHeight } />
102+ Profile
103+ </ Link >
100104 </ div >
101105 ) ;
102106 }
@@ -168,7 +172,7 @@ export const SectionCard = ({
168172 ) }
169173 </ p >
170174 < p title = "Mentor" >
171- < UserIcon width = { iconWidth } height = { iconHeight } /> { mentor . name }
175+ < UserIcon width = { iconWidth } height = { iconHeight } /> < Link to = { `/profile/ ${ mentor . id } ` } > { mentor . name } </ Link >
172176 </ p >
173177 < p title = "Current enrollment" >
174178 < GroupIcon width = { iconWidth } height = { iconHeight } /> { `${ numStudentsEnrolled } /${ capacity } ` }
You can’t perform that action at this time.
0 commit comments