mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: excess copy
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
<svelte:component this={$page.data.breadcrumbs} />
|
||||
{/if}
|
||||
|
||||
{#if !$page.url.pathname.includes('/console/account') && ($readOnly.bandwidth || $readOnly.storage || $readOnly.documents || $readOnly.users || $readOnly.executions)}
|
||||
{#if !$page.url.pathname.includes('/console/account') && true}
|
||||
<Pill danger button on:click={() => ($showExcess = true)}>
|
||||
<div>
|
||||
<span class="icon-exclamation-circle" aria-hidden="true" />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { Modal } from '$lib/components';
|
||||
import { sizeToBytes } from '$lib/helpers/sizeConvertion';
|
||||
import { plansInfo } from '$lib/stores/billing';
|
||||
import { plansInfo, tierToPlan } from '$lib/stores/billing';
|
||||
import { organization } from '$lib/stores/organization';
|
||||
import { onMount } from 'svelte';
|
||||
import PlanExcess from '../wizard/cloudOrganizationChangeTier/planExcess.svelte';
|
||||
@@ -42,6 +42,14 @@
|
||||
</script>
|
||||
|
||||
<Modal bind:show title="Limit reached">
|
||||
<svelte:fragment slot="title">
|
||||
Your usage exceeds the {tierToPlan($organization.billingPlan).name} plan limits
|
||||
</svelte:fragment>
|
||||
<p class="text">
|
||||
Usage for <b>{$organization.name}</b> organization has reached the limits of the {tierToPlan(
|
||||
$organization.billingPlan
|
||||
).name} plan. Consider upgrading to increase your resource usage.
|
||||
</p>
|
||||
<PlanExcess {excess} currentTier={$organization.billingPlan} />
|
||||
<svelte:fragment slot="footer">
|
||||
<Button
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
</svelte:fragment>
|
||||
</Alert>
|
||||
|
||||
<TableScroll>
|
||||
<TableScroll noMargin>
|
||||
<TableHeader>
|
||||
<TableCellHead>Resource</TableCellHead>
|
||||
<TableCellHead>Free limit</TableCellHead>
|
||||
|
||||
Reference in New Issue
Block a user