From 4dd2fde5b3a4554c2062befadf6096683aa72dc2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 17 Mar 2022 14:09:50 +0100 Subject: [PATCH] Merge pull request #7072 from overleaf/tm-collaborator-to-standard Change various usages of `Collaborator` plan name to `Standard (Collaborator)` GitOrigin-RevId: 9bf98a0e0d029b28b1b5bd7aa6b16f4d4aa4a883 --- .../app/src/Features/Subscription/GroupPlansData.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/services/web/app/src/Features/Subscription/GroupPlansData.js b/services/web/app/src/Features/Subscription/GroupPlansData.js index 026b705991..144d0d811b 100644 --- a/services/web/app/src/Features/Subscription/GroupPlansData.js +++ b/services/web/app/src/Features/Subscription/GroupPlansData.js @@ -35,13 +35,20 @@ for (const [usage, planData] of Object.entries(groups)) { } } + const planName = + planCode === 'collaborator' + ? 'Standard (Collaborator)' + : capitalize(planCode) + // Generate plans in settings for (const size of sizes) { Settings.plans.push({ planCode: `group_${planCode}_${size}_${usage}`, - name: `${Settings.appName} ${capitalize( - planCode - )} - Group Account (${size} licenses) - ${capitalize(usage)}`, + name: `${ + Settings.appName + } ${planName} - Group Account (${size} licenses) - ${capitalize( + usage + )}`, hideFromUsers: true, price_in_cents: groups[usage][planCode].USD[size].price_in_cents, annual: true,