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 = ({
90
90
const iconWidth = "8em" ;
91
91
const iconHeight = "8em" ;
92
92
if ( enrollmentSuccessful ) {
93
+ const inlineIconWidth = "1.3em" ;
94
+ const inlineIconHeight = "1.3em" ;
93
95
return (
94
96
< div className = "enroll-confirm-modal-contents" >
95
97
< CheckCircle height = { iconHeight } width = { iconWidth } />
96
98
< 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 >
100
104
</ div >
101
105
) ;
102
106
}
@@ -168,7 +172,7 @@ export const SectionCard = ({
168
172
) }
169
173
</ p >
170
174
< 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 >
172
176
</ p >
173
177
< p title = "Current enrollment" >
174
178
< GroupIcon width = { iconWidth } height = { iconHeight } /> { `${ numStudentsEnrolled } /${ capacity } ` }
You can’t perform that action at this time.
0 commit comments