Merge pull request #646 from appwrite/billing-copy

Billing copy
This commit is contained in:
Arman
2023-12-11 13:21:04 +01:00
committed by GitHub
12 changed files with 16 additions and 16 deletions
@@ -37,7 +37,7 @@
</p>
<p class="text">
Consider upgrading and take advantage of the extra resources that come with the Pro
plan. You can also use our Migrations service to self-host some of your projects
plan. You can also use Migrations to self-host some of your projects
instead. Learn more in our <a
class="link"
href="https://appwrite.io/docs/advanced/migrations"
@@ -162,8 +162,8 @@
<i class="icon-trending-up" />
</div>
<div>
<p class="u-bold">Keep your project plan limits in mind</p>
<p>Make sure to have enough storage in your project plan when importing files</p>
<p class="u-bold">Keep your organization plan's limits in mind</p>
<p>Make sure to have enough storage in your organization plan when importing files.</p>
</div>
</div>
{#if $provider.provider === 'firebase'}
+1 -1
View File
@@ -339,7 +339,7 @@
type: 'warning',
timeout: 10000,
message:
'Appwrite Pro is coming soon, which means you will be limited to one free organization per account. To avoid service disruptions in your projects, consider upgrading to Pro.',
'Appwrite Pro is coming soon, which means you will be limited to one free organization per account. To avoid service disruptions in your organization's projects, consider upgrading to Pro.',
buttons: [
{
name: 'Learn more',
@@ -94,7 +94,7 @@
<svelte:fragment slot="title">
The scheduled payment for {$organization.name} failed
</svelte:fragment>
To avoid service disruptions in your projects, please verify your payment details and update
To avoid service disruptions in organization's your projects, please verify your payment details and update
them if necessary.
</Alert>
{/if}
@@ -103,7 +103,7 @@
<svelte:fragment slot="title">
The default payment method for {$organization.name} has expired
</svelte:fragment>
To avoid service disruptions in your projects, please update your payment details.
To avoid service disruptions in your organization's projects, please update your payment details.
</Alert>
{/if}
{#if $organization?.billingPlanDowngrade}
@@ -57,7 +57,7 @@
</p>
{:else}
<p class="text">
If you exceed the limits of the {plan} plan, services for your projects may be disrupted.
If you exceed the limits of the {plan} plan, services for your organization's projects may be disrupted.
<button
on:click={() => wizard.start(ChangeOrganizationTierCloud)}
class="link"
@@ -18,7 +18,7 @@
await sdk.forProject.vcs.deleteInstallation(selectedInstallation.$id);
await invalidate(Dependencies.PROJECT_INSTALLATIONS);
addNotification({
message: `${selectedInstallation.organization} has been disconnected from your project`,
message: `${selectedInstallation.organization} has been disconnected from this project`,
type: 'success'
});
trackEvent(Submit.InstallationDelete, {
@@ -13,8 +13,8 @@
bind:show
onSubmit={handleDisableAll}>
<p class="text" data-private>
Are you sure you want to disable all services? This will disable API requests to your
project.
Are you sure you want to disable all services? This will disable API requests to this
project for all Client SDKs.
</p>
<svelte:fragment slot="footer">
<Button text on:click={() => (show = false)}>Cancel</Button>
@@ -187,7 +187,7 @@
Installing Git to a self-hosted instance
</svelte:fragment>
When installing Git in a locally hosted Appwrite project, you must first configure
your environment variables.
environment variables.
<svelte:fragment slot="buttons">
<Button
href="https://appwrite.io/docs/advanced/self-hosting/functions"
@@ -42,7 +42,7 @@
<Form onSubmit={updateName}>
<CardGrid>
<Heading tag="h6" size="7">API credentials</Heading>
<p class="text">Access Appwrite services using your API Endpoint and Project ID.</p>
<p class="text">Access Appwrite services using this project's API Endpoint and Project ID.</p>
<svelte:fragment slot="aside">
<FormList>
<CopyInput label="Project ID" showLabel={true} value={$project.$id} />
@@ -68,7 +68,7 @@
type="switchbox"
id="budget"
label="Enable budget cap"
tooltip="If enabled, you will be notified by email when your project spend reaches 75% of the cap you set. Update your budget cap alerts in Organization Settings."
tooltip="If enabled, you will be notified by email when your organization spend reaches 75% of the cap you set. Update your budget cap alerts in organization Settings."
fullWidth
bind:value={budgetEnabled}>
<p class="text">
@@ -82,7 +82,7 @@
type="switchbox"
id="budget"
label="Enable budget cap"
tooltip="If enabled, you will be notified by email when your project spend reaches 75% of the cap you set. Update your budget cap alerts in Organization Settings."
tooltip="If enabled, you will be notified by email when your organization spend reaches 75% of the cap you set. Update your budget cap alerts in organization Settings."
fullWidth
bind:value={budgetEnabled}>
<p class="text">
@@ -56,8 +56,8 @@
{/if}
<svelte:fragment slot="buttons">
<!-- TODO: add link when available -->
<Button text href="#/">Learn more</Button>
<Button text href="https://appwrite.io/docs/advanced/platform/starter#reaching-resource-limits">Learn more</Button>
<Button text href="https://appwrite.io/docs/advanced/platform/pro#reaching-resource-limits">Learn more</Button>
</svelte:fragment>
</Alert>