mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
pass plan to payment page to get the number of collaborators
This commit is contained in:
parent
19a08f82a6
commit
b2b13ef9a7
2 changed files with 7 additions and 1 deletions
|
@ -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")}
|
||||
|
|
Loading…
Reference in a new issue