{#if isCloud && showAlert} {@const services = overflowingServices .map((s) => { return s.name.toLocaleLowerCase(); }) .join(', ')} {#if services.length} {#if $organization?.billingPlan !== BillingPlan.FREE && hasUsageFees} You've reached the {services} limit for the {tier} plan. ($showUsageRatesModal = true)} >Excess usage fees will apply. {:else} You've reached the {services} limit for the {tier} plan. Upgrade your organization for additional resources. {/if} {/if} {/if} {title} {#if isCloud && isLimited} {#if hasProjectLimitation} (showDropdown = !showDropdown)}> {total}/{limit} created {:else if $organization?.billingPlan !== BillingPlan.SCALE} (showDropdown = !showDropdown)}> Limits applied {/if} {#if hasProjectLimitation}

You are limited to {limit} {title.toLocaleLowerCase()} per project on the {tier} plan. {#if $organization?.billingPlan === BillingPlan.FREE}Upgrade for additional {title.toLocaleLowerCase()}. {/if}

{:else if hasUsageFees}

You are limited to {limit} {title.toLocaleLowerCase()} per organization on the {tier} plan. ($showUsageRatesModal = true)} >Excess usage fees will apply.

{:else}

You are limited to {limit} {title.toLocaleLowerCase()} per organization on the {tier} plan. {#if $organization?.billingPlan === BillingPlan.FREE} Upgrade for additional {title.toLocaleLowerCase()}. {/if}

{/if}
{/if}
{#if buttonText} {/if}