mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
pass plan to payment page to get the number of collaborators
This commit is contained in:
@@ -54,6 +54,7 @@ module.exports = SubscriptionController =
|
||||
title : "subscribe"
|
||||
plan_code: req.query.planCode
|
||||
currency: currency
|
||||
plan:plan
|
||||
recurlyConfig: JSON.stringify
|
||||
currency: currency
|
||||
subdomain: Settings.apis.recurly.subdomain
|
||||
|
||||
@@ -33,12 +33,17 @@ block content
|
||||
ng-click="changeCurrency(currency)",
|
||||
) {{currency}} ({{value['symbol']}})
|
||||
|
||||
|
||||
.row
|
||||
.col-md-12.paymentPageFeatures
|
||||
ul.list-unstyled
|
||||
li
|
||||
if plan.features.collaborators == -1
|
||||
- var collaboratorCount = 'Unlimited'
|
||||
else
|
||||
- var collaboratorCount = plan.features.collaborators
|
||||
i.fa.fa-check
|
||||
| #{translate("collabs_per_proj", {collabcount:6})}
|
||||
| #{translate("collabs_per_proj", {collabcount:collaboratorCount})}
|
||||
li
|
||||
i.fa.fa-check
|
||||
| #{translate("full_doc_history")}
|
||||
|
||||
Reference in New Issue
Block a user