diff --git a/services/web/app/src/Features/Subscription/SubscriptionController.js b/services/web/app/src/Features/Subscription/SubscriptionController.js index 0255f3b0d5..cd9b0c3ad5 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionController.js +++ b/services/web/app/src/Features/Subscription/SubscriptionController.js @@ -422,6 +422,12 @@ async function successfulSubscription(req, res) { if (!personalSubscription) { res.redirect('/user/subscription/plans') } else { + await SplitTestHandler.promises.getAssignment( + req, + res, + 'bootstrap-5-subscription' + ) + res.render('subscriptions/successful-subscription-react', { title: 'thank_you', personalSubscription, diff --git a/services/web/app/views/subscriptions/successful-subscription-react.pug b/services/web/app/views/subscriptions/successful-subscription-react.pug index fbe2767141..0d82346b6f 100644 --- a/services/web/app/views/subscriptions/successful-subscription-react.pug +++ b/services/web/app/views/subscriptions/successful-subscription-react.pug @@ -1,5 +1,9 @@ extends ../layout-marketing +block vars + - bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly' + - bootstrap5PageSplitTest = 'bootstrap-5-subscription' + block entrypointVar - entrypoint = 'pages/user/subscription/successful-subscription' diff --git a/services/web/frontend/js/features/subscription/components/successful-subscription/successful-subscription.tsx b/services/web/frontend/js/features/subscription/components/successful-subscription/successful-subscription.tsx index 5704dcc2f6..9749cd91f2 100644 --- a/services/web/frontend/js/features/subscription/components/successful-subscription/successful-subscription.tsx +++ b/services/web/frontend/js/features/subscription/components/successful-subscription/successful-subscription.tsx @@ -1,9 +1,12 @@ import { useTranslation, Trans } from 'react-i18next' -import { Col, Row } from 'react-bootstrap' import { PriceExceptions } from '../shared/price-exceptions' import PremiumFeaturesLink from '../dashboard/premium-features-link' import getMeta from '../../../../utils/meta' import { useSubscriptionDashboardContext } from '../../context/subscription-dashboard-context' +import OLRow from '@/features/ui/components/ol/ol-row' +import OLCol from '@/features/ui/components/ol/ol-col' +import OLCard from '@/features/ui/components/ol/ol-card' +import OLNotification from '@/features/ui/components/ol/ol-notification' function SuccessfulSubscription() { const { t } = useTranslation() @@ -16,37 +19,43 @@ function SuccessfulSubscription() { return (
+
-
- {t('to_modify_your_subscription_go_to')} - - {t('manage_subscription')}. - -
-