File tree Expand file tree Collapse file tree 3 files changed +61
-5
lines changed Expand file tree Collapse file tree 3 files changed +61
-5
lines changed Original file line number Diff line number Diff line change @@ -336,6 +336,14 @@ body.new-design {
336
336
width : auto ;
337
337
flex-grow : 1 ;
338
338
339
+ .pacing-faq-link {
340
+ color : $home-page-dark-blue ;
341
+ text-decoration-line : underline ;
342
+ float : right ;
343
+ padding : 0 ;
344
+ font-size : smaller ;
345
+ }
346
+
339
347
.enrollment-effort {
340
348
font-size : smaller ;
341
349
}
@@ -346,6 +354,7 @@ body.new-design {
346
354
margin-left : .5rem ;
347
355
padding : 3px ;
348
356
font-weight : normal ;
357
+
349
358
}
350
359
}
351
360
.more-enrollment-info {
Original file line number Diff line number Diff line change @@ -131,9 +131,38 @@ export default class CourseInfoBox extends React.PureComponent<CourseInfoBoxProp
131
131
</ div >
132
132
< div className = "enrollment-info-text" >
133
133
{ course . page . length }
134
- { run && run . is_self_paced ? (
135
- < span className = "badge badge-pacing" > SELF-PACED</ span >
136
- ) : null }
134
+ { isArchived ? (
135
+ < >
136
+ < span className = "badge badge-pacing" > ARCHIVED</ span >
137
+ < a
138
+ className = "pacing-faq-link float-right"
139
+ href = "https://mitxonline.zendesk.com/hc/en-us/articles/21995114519067-What-are-Archived-courses-on-MITx-Online-"
140
+ >
141
+ What's this?
142
+ </ a >
143
+ </ >
144
+ ) : run && run . is_self_paced ? (
145
+ < >
146
+ < span className = "badge badge-pacing" > SELF-PACED</ span >
147
+ < a
148
+ className = "pacing-faq-link float-right"
149
+ href = "https://mitxonline.zendesk.com/hc/en-us/articles/21994872904475-What-are-Self-Paced-courses-on-MITx-Online-"
150
+ >
151
+ What's this?
152
+ </ a >
153
+ </ >
154
+ ) : (
155
+ < >
156
+ < span className = "badge badge-pacing" > INSTRUCTOR-PACED</ span >
157
+ < a
158
+ className = "pacing-faq-link float-right"
159
+ href = "https://mitxonline.zendesk.com/hc/en-us/articles/21994938130075-What-are-Instructor-Paced-courses-on-MITx-Online-"
160
+ >
161
+ What's this?
162
+ </ a >
163
+ </ >
164
+ ) }
165
+
137
166
{ course . page . effort ? (
138
167
< >
139
168
< div className = "enrollment-effort" >
Original file line number Diff line number Diff line change @@ -133,8 +133,26 @@ export default class ProgramInfoBox extends React.PureComponent<ProgramInfoBoxPr
133
133
< div className = "enrollment-info-text" >
134
134
{ program . page . length }
135
135
{ run && run . is_self_paced ? (
136
- < span className = "badge badge-pacing" > SELF-PACED</ span >
137
- ) : null }
136
+ < >
137
+ < span className = "badge badge-pacing" > SELF-PACED</ span >
138
+ < a
139
+ className = "pacing-faq-link float-right"
140
+ href = "https://mitxonline.zendesk.com/hc/en-us/articles/21994872904475-What-are-Self-Paced-courses-on-MITx-Online-"
141
+ >
142
+ What's this?
143
+ </ a >
144
+ </ >
145
+ ) : (
146
+ < >
147
+ < span className = "badge badge-pacing" > INSTRUCTOR-PACED</ span >
148
+ < a
149
+ className = "pacing-faq-link float-right"
150
+ href = "https://mitxonline.zendesk.com/hc/en-us/articles/21994938130075-What-are-Instructor-Paced-courses-on-MITx-Online-"
151
+ >
152
+ What's this?
153
+ </ a >
154
+ </ >
155
+ ) }
138
156
{ program . page . effort ? (
139
157
< >
140
158
< div className = "enrollment-effort" >
You can’t perform that action at this time.
0 commit comments