2023-01-12 14:53:35 +00:00
|
|
|
extends ../layout-marketing
|
|
|
|
|
2024-09-25 10:05:42 +00:00
|
|
|
block vars
|
|
|
|
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
|
|
|
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
|
|
|
|
2023-01-12 14:53:35 +00:00
|
|
|
block entrypointVar
|
|
|
|
- entrypoint = 'pages/user/subscription/dashboard'
|
|
|
|
|
2023-01-26 17:01:54 +00:00
|
|
|
block head-scripts
|
|
|
|
script(type="text/javascript", nonce=scriptNonce, src="https://js.recurly.com/v4/recurly.js")
|
|
|
|
|
2023-01-12 14:53:35 +00:00
|
|
|
block append meta
|
2023-02-22 12:33:17 +00:00
|
|
|
meta(name="ol-subscription" data-type="json" content=personalSubscription)
|
2024-08-07 15:30:55 +00:00
|
|
|
meta(name="ol-userCanExtendTrial" data-type="boolean" content=userCanExtendTrial)
|
2023-02-22 12:18:01 +00: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 16:51:19 +00:00
|
|
|
meta(name="ol-fromPlansPage" data-type="boolean" content=fromPlansPage)
|
2023-02-07 15:38:04 +00:00
|
|
|
meta(name="ol-plans", data-type="json" content=plans)
|
2023-06-26 13:49:51 +00:00
|
|
|
meta(name="ol-groupSettingsEnabledFor", data-type="json" content=groupSettingsEnabledFor)
|
2024-09-30 09:49:18 +00:00
|
|
|
meta(name="ol-user" data-type="json" content=user)
|
2023-01-12 14:53:35 +00: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 15:20:50 +00:00
|
|
|
main.content.content-alt#main-content
|
|
|
|
#subscription-dashboard-root
|