mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 13:28:08 -05:00
5462fcd128
* Update `User` type * Set `layout-react`: `subscriptions/successful-subscription-react` * Set `layout-react`: `subscriptions/canceled-subscription-react` * Set `layout-react`: `subscriptions/dashboard-react` * Set `layout-react`: `subscriptions/team/invite-managed`, `subscriptions/team/invite`, `subscriptions/team/invite_logged_out` * Set `layout-react`: `subscriptions/team/group-invites` * Add `header-footer-react` to subscription/base.js * Fix: Replace `date-type` by `data-type` * Fix SubscriptionControllerTests GitOrigin-RevId: b9049a9093a700b3be1bf33809e3a1494022350a
34 lines
1.8 KiB
Text
34 lines
1.8 KiB
Text
extends ../layout-react
|
|
|
|
block vars
|
|
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
|
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
|
|
|
block entrypointVar
|
|
- entrypoint = 'pages/user/subscription/dashboard'
|
|
|
|
block head-scripts
|
|
script(type="text/javascript", nonce=scriptNonce, src="https://js.recurly.com/v4/recurly.js")
|
|
|
|
block append meta
|
|
meta(name="ol-subscription" data-type="json" content=personalSubscription)
|
|
meta(name="ol-userCanExtendTrial" data-type="boolean" content=userCanExtendTrial)
|
|
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)
|
|
meta(name="ol-fromPlansPage" data-type="boolean" content=fromPlansPage)
|
|
meta(name="ol-plans", data-type="json" content=plans)
|
|
meta(name="ol-groupSettingsEnabledFor", data-type="json" content=groupSettingsEnabledFor)
|
|
meta(name="ol-user" data-type="json" content=user)
|
|
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
|
|
main.content.content-alt#main-content
|
|
#subscription-dashboard-root
|