diff --git a/packages/server/src/routes/index/users.ts b/packages/server/src/routes/index/users.ts index 5e6b63bf45..428bc698a5 100644 --- a/packages/server/src/routes/index/users.ts +++ b/packages/server/src/routes/index/users.ts @@ -166,7 +166,7 @@ router.get('users/:id', async (path: SubPath, ctx: AppContext, user: User = null const lastPaymentAttempt = models.subscription().lastPaymentAttempt(subscription); view.content.subscription = subscription; - view.content.showCancelSubscription = !isNew; + view.content.showManageSubscription = !isNew; view.content.showUpdateSubscriptionBasic = !isNew && !!owner.is_admin && user.account_type !== AccountType.Basic; view.content.showUpdateSubscriptionPro = !isNew && user.account_type !== AccountType.Pro; view.content.subLastPaymentStatus = lastPaymentAttempt.status; diff --git a/packages/server/src/views/index/help.md b/packages/server/src/views/index/help.md index 08288bfbcf..1950171636 100644 --- a/packages/server/src/views/index/help.md +++ b/packages/server/src/views/index/help.md @@ -6,17 +6,23 @@ Most of your details can be found in your Profile page. To open it, click on the ## How can I get more space? -If you are on a Basic account, you may upgrade to a Pro account to get more space. Click on the [Profile button](#how-can-i-change-my-details), then scroll down and select "Upgrade account". +If you are on a Basic account, you may upgrade to a Pro account to get more space. Click on the [Profile button](#how-can-i-change-my-details), then scroll down and select "Upgrade to Pro". If you are already on a Pro account, and you need more space for specific reasons, please contact us as we may increase the cap in some cases. ## How can I manage my payment details? -To update your card or other payment details, click on the [Profile button](#how-can-i-change-my-details), then scroll down and click on "Manage payment details". +To update your card or other payment details, click on the [Profile button](#how-can-i-change-my-details), then scroll down and click on "Manage subscription". + +## How can I switch to a different billing cycle or plan? + +To switch between yearly and monthly payments, or to change from a Basic to Pro plan or vice versa, please click on the [Profile button](#how-can-i-change-my-details), then scroll down and click on "Manage subscription". From the Subscription page, click on Update Plan to choose your new billing cycle or to change your plan. + +Note that if you downgrade from Pro to Basic, new limitations will apply so for example you may have to delete some notes so that your account is below the required limit. ## How can I cancel my account? -Click on the [Profile button](#how-can-i-change-my-details), then scroll down and click on "Cancel subscription". +Click on the [Profile button](#how-can-i-change-my-details), then scroll down and click on "Manage subscription". ## Further information diff --git a/packages/server/src/views/index/user.mustache b/packages/server/src/views/index/user.mustache index 576218b524..d3435aff24 100644 --- a/packages/server/src/views/index/user.mustache +++ b/packages/server/src/views/index/user.mustache @@ -120,25 +120,22 @@ {{#showUpdateSubscriptionPro}} {{/showUpdateSubscriptionPro}} - {{#showCancelSubscription}} - - {{/showCancelSubscription}} {{/global.owner.is_admin}} {{^global.owner.is_admin}} -
- {{#showUpdateSubscriptionPro}} - Upgrade to Pro - {{/showUpdateSubscriptionPro}} - {{#showCancelSubscription}} -

Manage payment details

- {{/showCancelSubscription}} - {{#showCancelSubscription}} - - - {{/showCancelSubscription}} -
+ {{#showUpdateSubscriptionPro}} +
+

Upgrade to Pro

+

Click for more info about the Pro plan and to upgrade your account.

+
+ {{/showUpdateSubscriptionPro}} + {{#showManageSubscription}} +
+

Manage subscription

+

Click to update your payment details, switch to a different billing cycle or plan, or to cancel your subscription.

+
+ {{/showManageSubscription}} {{/global.owner.is_admin}} {{/subscription}} @@ -158,15 +155,6 @@