@@ -27,12 +27,12 @@ import messages from './messages';
27
27
import { useModel } from '../../../generic/model-store' ;
28
28
import { requestCert } from '../../../course-home/data/thunks' ;
29
29
import ProgramCompletion from './ProgramCompletion' ;
30
- import DashboardFootnote from './DashboardFootnote' ;
31
30
import UpgradeFootnote from './UpgradeFootnote' ;
32
31
import SocialIcons from '../../social-share/SocialIcons' ;
33
32
import { logClick , logVisit } from './utils' ;
34
33
import { DashboardLink , IdVerificationSupportLink , ProfileLink } from '../../../shared/links' ;
35
34
import CourseRecommendationsSlot from '../../../plugin-slots/CourseExitPluginSlots/CourseRecommendationsSlot' ;
35
+ import DashboardFootnotePluginSlot from '../../../plugin-slots/CourseExitPluginSlots/DashboardFootnotePluginSlot' ;
36
36
37
37
const LINKEDIN_BLUE = '#2867B2' ;
38
38
@@ -119,7 +119,7 @@ const CourseCelebration = ({ intl }) => {
119
119
}
120
120
buttonEvent = 'view_cert' ;
121
121
visitEvent = 'celebration_with_cert' ;
122
- footnote = < DashboardFootnote variant = { visitEvent } /> ;
122
+ footnote = < DashboardFootnotePluginSlot variant = { visitEvent } /> ;
123
123
break ;
124
124
case 'earned_but_not_available' : {
125
125
const endDate = < FormattedDate value = { end } day = "numeric" month = "long" year = "numeric" /> ;
@@ -142,7 +142,7 @@ const CourseCelebration = ({ intl }) => {
142
142
</ >
143
143
) ;
144
144
visitEvent = 'celebration_with_unavailable_cert' ;
145
- footnote = < DashboardFootnote variant = { visitEvent } /> ;
145
+ footnote = < DashboardFootnotePluginSlot variant = { visitEvent } /> ;
146
146
break ;
147
147
}
148
148
case 'requesting' :
@@ -163,12 +163,12 @@ const CourseCelebration = ({ intl }) => {
163
163
certHeader = intl . formatMessage ( messages . certificateHeaderRequestable ) ;
164
164
message = ( < p > { intl . formatMessage ( messages . requestCertificateBodyText ) } </ p > ) ;
165
165
visitEvent = 'celebration_with_requestable_cert' ;
166
- footnote = < DashboardFootnote variant = { visitEvent } /> ;
166
+ footnote = < DashboardFootnotePluginSlot variant = { visitEvent } /> ;
167
167
break ;
168
168
case 'unverified' :
169
169
certHeader = intl . formatMessage ( messages . certificateHeaderUnverified ) ;
170
170
visitEvent = 'celebration_unverified' ;
171
- footnote = < DashboardFootnote variant = { visitEvent } /> ;
171
+ footnote = < DashboardFootnotePluginSlot variant = { visitEvent } /> ;
172
172
if ( verificationStatus === 'pending' ) {
173
173
message = ( < p > { intl . formatMessage ( messages . verificationPending ) } </ p > ) ;
174
174
} else {
@@ -240,7 +240,7 @@ const CourseCelebration = ({ intl }) => {
240
240
if ( verifiedMode . accessExpirationDate ) {
241
241
footnote = < UpgradeFootnote deadline = { verifiedMode . accessExpirationDate } href = { verifiedMode . upgradeUrl } /> ;
242
242
} else {
243
- footnote = < DashboardFootnote variant = { visitEvent } /> ;
243
+ footnote = < DashboardFootnotePluginSlot variant = { visitEvent } /> ;
244
244
}
245
245
} else {
246
246
visitEvent = 'celebration_audit_no_upgrade' ;
0 commit comments