mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #7072 from overleaf/tm-collaborator-to-standard
Change various usages of `Collaborator` plan name to `Standard (Collaborator)` GitOrigin-RevId: 9bf98a0e0d029b28b1b5bd7aa6b16f4d4aa4a883
This commit is contained in:
parent
bd74a149ce
commit
71e6dfdd15
1 changed files with 10 additions and 3 deletions
|
@ -35,13 +35,20 @@ for (const [usage, planData] of Object.entries(groups)) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const planName =
|
||||||
|
planCode === 'collaborator'
|
||||||
|
? 'Standard (Collaborator)'
|
||||||
|
: capitalize(planCode)
|
||||||
|
|
||||||
// Generate plans in settings
|
// Generate plans in settings
|
||||||
for (const size of sizes) {
|
for (const size of sizes) {
|
||||||
Settings.plans.push({
|
Settings.plans.push({
|
||||||
planCode: `group_${planCode}_${size}_${usage}`,
|
planCode: `group_${planCode}_${size}_${usage}`,
|
||||||
name: `${Settings.appName} ${capitalize(
|
name: `${
|
||||||
planCode
|
Settings.appName
|
||||||
)} - Group Account (${size} licenses) - ${capitalize(usage)}`,
|
} ${planName} - Group Account (${size} licenses) - ${capitalize(
|
||||||
|
usage
|
||||||
|
)}`,
|
||||||
hideFromUsers: true,
|
hideFromUsers: true,
|
||||||
price_in_cents: groups[usage][planCode].USD[size].price_in_cents,
|
price_in_cents: groups[usage][planCode].USD[size].price_in_cents,
|
||||||
annual: true,
|
annual: true,
|
||||||
|
|
Loading…
Reference in a new issue