diff --git a/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte b/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte index 04519dcf9a..74c0a69850 100644 --- a/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte @@ -142,21 +142,22 @@ '1 000 free global executions per-user per month' ], Team: [ - `$10/mo per user in the workspace.`, + `$10/month per user in the workspace.`, `Executions are not accounted for in the global user's quotas but are accounted for in the workspace's quota.`, - `Every user in the workspace increases the pooled workspace quota by 50k executions.`, - `1 000 executions above the pooled workspace quota is charged 1$.` + `Every user in the workspace increases the pooled workspace quota by 10k executions.`, + `1 000 executions above the pooled workspace quota is charged 1$.`, + `
10k executions/user + $1/1000 additional executions
` ], Enterprise: [ `$50/month per user in the workspace.`, `Executions are not accounted for in the global user's quotas but are accounted for in the workspace's quota.`, `Every user in the workspace increases the pooled workspace quota by 50k executions.`, - `1 000 executions above the pooled workspace quota is charged 1$.`, `Dedicated workers and database`, `SAML support`, - `Priority support including an automation engineer` + `Priority support including an automation engineer`, + `
50k executions/user + $1/1000 additional executions
` ] } @@ -169,7 +170,7 @@ /> - {#if $userStore?.is_admin} + {#if $userStore?.is_admin || $superadmin} @@ -230,6 +231,15 @@ { + if (is_admin && e.detail != 'admin') { + sendUserToast( + 'Admins cannot be demoted by themselves, ask another admin to demote you', + true + ) + e.preventDefault() + listUsers() + return + } const body = e.detail == 'admin' ? { is_admin: true, operator: false } @@ -408,9 +418,7 @@ {/if} {:else if tab == 'premium'} {#if isCloudHosted()} -
- - +
{#if customer_id || true}
@@ -442,7 +450,7 @@
{#each Object.entries(plans) as [planTitle, planDesc]} -
+

{planTitle}

    {#each planDesc as item} @@ -453,26 +461,26 @@
    {#if planTitle == 'Team'} {#if plan != 'team'} -
    -
    {:else} -
    You are on this plan
    +
    You are on the team plan
    {/if} {:else if planTitle == 'Enterprise'} {#if plan != 'enterprise'} -
    -
    {:else} -
    You are on this plan
    +
    You are on enterprise plan
    {/if} {:else if !plan} -
    You are on the free-tier plan
    +
    You are on the free plan
    {:else}