mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
* Replace the black Overleaf logo to the green one * Move subscription, login, restricted, invite views to website-redesign layout * Remove the Storybook showcase of all the layouts --------- Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com> GitOrigin-RevId: b07581834921750c9c6de44f05beb0dd9eafba23
99 lines
2.3 KiB
Plaintext
99 lines
2.3 KiB
Plaintext
extends ../layout-react
|
|
|
|
block vars
|
|
- isWebsiteRedesign = true
|
|
|
|
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-subscriptionPaymentErrorCode'
|
|
data-type='string'
|
|
content=redirectedPaymentErrorCode
|
|
)
|
|
meta(name='ol-plans' data-type='json' content=plans)
|
|
meta(
|
|
name='ol-groupSettingsAdvertisedFor'
|
|
data-type='json'
|
|
content=groupSettingsAdvertisedFor
|
|
)
|
|
meta(
|
|
name='ol-canUseFlexibleLicensing'
|
|
data-type='boolean'
|
|
content=canUseFlexibleLicensing
|
|
)
|
|
meta(
|
|
name='ol-showGroupDiscount'
|
|
data-type='boolean'
|
|
content=showGroupDiscount
|
|
)
|
|
meta(
|
|
name='ol-groupSettingsEnabledFor'
|
|
data-type='json'
|
|
content=groupSettingsEnabledFor
|
|
)
|
|
meta(
|
|
name='ol-hasAiAssistViaWritefull'
|
|
data-type='boolean'
|
|
content=hasAiAssistViaWritefull
|
|
)
|
|
meta(
|
|
name='ol-aiAssistViaWritefullSource'
|
|
data-type='string'
|
|
content=aiAssistViaWritefullSource
|
|
)
|
|
meta(name='ol-user' data-type='json' content=user)
|
|
if personalSubscription && personalSubscription.payment
|
|
meta(name='ol-recurlyApiKey' content=settings.apis.recurly.publicKey)
|
|
meta(
|
|
name='ol-recommendedCurrency'
|
|
content=personalSubscription.payment.currency
|
|
)
|
|
meta(name='ol-groupPlans' data-type='json' content=groupPlans)
|
|
|
|
block content
|
|
main#main-content.content
|
|
#subscription-dashboard-root
|