2024-11-08 04:40:40 -05:00
|
|
|
extends ../layout-react
|
2023-01-12 09:53:35 -05:00
|
|
|
|
2024-09-25 06:05:42 -04:00
|
|
|
block vars
|
|
|
|
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
|
|
|
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
|
|
|
|
2023-01-12 09:53:35 -05:00
|
|
|
block entrypointVar
|
|
|
|
- entrypoint = 'pages/user/subscription/dashboard'
|
|
|
|
|
2023-01-26 12:01:54 -05:00
|
|
|
block head-scripts
|
|
|
|
script(type="text/javascript", nonce=scriptNonce, src="https://js.recurly.com/v4/recurly.js")
|
|
|
|
|
2023-01-12 09:53:35 -05:00
|
|
|
block append meta
|
2023-02-22 07:33:17 -05:00
|
|
|
meta(name="ol-subscription" data-type="json" content=personalSubscription)
|
2024-08-07 11:30:55 -04:00
|
|
|
meta(name="ol-userCanExtendTrial" data-type="boolean" content=userCanExtendTrial)
|
2023-02-22 07:18:01 -05:00
|
|
|
meta(name="ol-managedGroupSubscriptions" data-type="json" content=managedGroupSubscriptions)
|
|
|
|
meta(name="ol-memberGroupSubscriptions" data-type="json" content=memberGroupSubscriptions)
|
|
|
|
meta(name="ol-managedInstitutions" data-type="json" content=managedInstitutions)
|
|
|
|
meta(name="ol-managedPublishers" data-type="json" content=managedPublishers)
|
|
|
|
meta(name="ol-planCodesChangingAtTermEnd" data-type="json", content=planCodesChangingAtTermEnd)
|
|
|
|
meta(name="ol-currentInstitutionsWithLicence" data-type="json" content=currentInstitutionsWithLicence)
|
|
|
|
meta(name="ol-hasSubscription" data-type="boolean" content=hasSubscription)
|
2023-02-23 11:51:19 -05:00
|
|
|
meta(name="ol-fromPlansPage" data-type="boolean" content=fromPlansPage)
|
2023-02-07 10:38:04 -05:00
|
|
|
meta(name="ol-plans", data-type="json" content=plans)
|
2023-06-26 09:49:51 -04:00
|
|
|
meta(name="ol-groupSettingsEnabledFor", data-type="json" content=groupSettingsEnabledFor)
|
2024-09-30 05:49:18 -04:00
|
|
|
meta(name="ol-user" data-type="json" content=user)
|
2023-01-12 09:53:35 -05:00
|
|
|
if (personalSubscription && personalSubscription.recurly)
|
|
|
|
meta(name="ol-recurlyApiKey" content=settings.apis.recurly.publicKey)
|
|
|
|
meta(name="ol-recommendedCurrency" content=personalSubscription.recurly.currency)
|
|
|
|
meta(name="ol-groupPlans" data-type="json" content=groupPlans)
|
|
|
|
|
|
|
|
block content
|
2024-01-04 10:20:50 -05:00
|
|
|
main.content.content-alt#main-content
|
|
|
|
#subscription-dashboard-root
|