mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[web] Initialize BS5 in subscription page (#20476)
GitOrigin-RevId: dacb283822eb4628f230a66f49af8bc9a2fa5dde
This commit is contained in:
parent
e3feafb7b0
commit
88196f8e38
2 changed files with 12 additions and 0 deletions
|
@ -232,6 +232,14 @@ async function userSubscriptionPage(req, res) {
|
||||||
'local-ccy-format-v2'
|
'local-ccy-format-v2'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Populates splitTestVariants with a value for the split test name and allows
|
||||||
|
// Pug to read it
|
||||||
|
await SplitTestHandler.promises.getAssignment(
|
||||||
|
req,
|
||||||
|
res,
|
||||||
|
'bootstrap-5-subscription'
|
||||||
|
)
|
||||||
|
|
||||||
const results =
|
const results =
|
||||||
await SubscriptionViewModelBuilder.promises.buildUsersSubscriptionViewModel(
|
await SubscriptionViewModelBuilder.promises.buildUsersSubscriptionViewModel(
|
||||||
user,
|
user,
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
extends ../layout-marketing
|
extends ../layout-marketing
|
||||||
|
|
||||||
|
block vars
|
||||||
|
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||||
|
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||||
|
|
||||||
block entrypointVar
|
block entrypointVar
|
||||||
- entrypoint = 'pages/user/subscription/dashboard'
|
- entrypoint = 'pages/user/subscription/dashboard'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue