diff --git a/src/lib/layout/containerHeader.svelte b/src/lib/layout/containerHeader.svelte index b65560090..12857fe71 100644 --- a/src/lib/layout/containerHeader.svelte +++ b/src/lib/layout/containerHeader.svelte @@ -87,10 +87,10 @@ {:else} - You've reached the {services} limit for the {tier} plan. You won't be able to - create additional resources until you {#if $organization?.billingPlan === 'tier-0'} - . - {/if} + You've reached the {services} limit for the {tier} plan. your organization for additional + resources. {/if} diff --git a/src/routes/console/organization-[organization]/excesLimitModal.svelte b/src/routes/console/organization-[organization]/excesLimitModal.svelte index 8771c935c..537ffb87e 100644 --- a/src/routes/console/organization-[organization]/excesLimitModal.svelte +++ b/src/routes/console/organization-[organization]/excesLimitModal.svelte @@ -41,20 +41,31 @@ users: totUsers > plan.users ? totUsers - plan.users : 0, executions: usage?.executions[0] > plan.executions ? usage.executions[0] - plan.executions : 0, - members: members.total > plan.members ? members.total - (plan.members || Infinity) : 0 + members: members?.total > plan.members ? members.total - (plan.members || Infinity) : 0 }; } + + $: if (show) calculateExcess(); Your usage exceeds the {tierToPlan($organization.billingPlan).name} plan limits -

- Usage for {$organization.name} organization has reached the limits of the {tierToPlan( - $organization.billingPlan - ).name} plan. Consider upgrading to increase your resource usage. -

+ {#if $organization.billingPlan === 'tier-0'} +

+ Usage for {$organization.name} organization has reached the limits of the {tierToPlan( + $organization.billingPlan + ).name} plan. Consider upgrading to increase your resource usage. +

+ {:else} +

+ Usage for {$organization.name} organization has reached the limits of the {tierToPlan( + $organization.billingPlan + ).name} plan. Excess usage fees will apply. +

+ {/if} +
diff --git a/src/routes/console/wizard/cloudOrganizationChangeTier/planExcess.svelte b/src/routes/console/wizard/cloudOrganizationChangeTier/planExcess.svelte index 593ff46b1..206249b84 100644 --- a/src/routes/console/wizard/cloudOrganizationChangeTier/planExcess.svelte +++ b/src/routes/console/wizard/cloudOrganizationChangeTier/planExcess.svelte @@ -31,7 +31,11 @@ - Changing your plan now will result in removal of organization members and more + {#if currentTier === 'tier-0'} + Your usage exceeds the {plan.name} plan limits + {:else} + Changing your plan now will result in removal of organization members and more + {/if} {#if excess?.members > 0}