dashboard-react.pug 1.1 KB

1234567891011121314151617181920212223
  1. extends ../layout-marketing
  2. block entrypointVar
  3. - entrypoint = 'pages/user/subscription/dashboard'
  4. block head-scripts
  5. script(type="text/javascript", nonce=scriptNonce, src="https://js.recurly.com/v4/recurly.js")
  6. block append meta
  7. meta(name="ol-managedGroupSubscriptions", data-type="json" content=managedGroupSubscriptions)
  8. meta(name="ol-managedInstitutions", data-type="json", content=managedInstitutions)
  9. meta(name="ol-managedPublishers", data-type="json" content=managedPublishers)
  10. meta(name="ol-planCodesChangingAtTermEnd", data-type="json", content=planCodesChangingAtTermEnd)
  11. meta(name="ol-currentInstitutionsWithLicence", data-type="json" content=currentInstitutionsWithLicence)
  12. meta(name="ol-plans", data-type="json" content=plans)
  13. if (personalSubscription && personalSubscription.recurly)
  14. meta(name="ol-recurlyApiKey" content=settings.apis.recurly.publicKey)
  15. meta(name="ol-subscription" data-type="json" content=personalSubscription)
  16. meta(name="ol-recommendedCurrency" content=personalSubscription.recurly.currency)
  17. meta(name="ol-groupPlans" data-type="json" content=groupPlans)
  18. block content
  19. main.content.content-alt#subscription-dashboard-root