From e0bca75ac3db1132508348f4d519d3e2a038efb1 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 30 Nov 2023 03:23:55 +0400 Subject: [PATCH 1/2] feat: add notice to create org modal --- src/routes/console/createOrganization.svelte | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/routes/console/createOrganization.svelte b/src/routes/console/createOrganization.svelte index d90866251d..4209003bb2 100644 --- a/src/routes/console/createOrganization.svelte +++ b/src/routes/console/createOrganization.svelte @@ -9,6 +9,7 @@ import { Dependencies } from '$lib/constants'; import { Submit, trackEvent, trackError } from '$lib/actions/analytics'; import { ID } from '@appwrite.io/console'; + import Alert from '$lib/components/alert.svelte'; export let show = false; @@ -43,6 +44,15 @@ + + Get ready for Appwrite Pro + We will soon introduce the much-anticipated Pro plan. Your account will continue to have access + to one free Starter organization. If you manage more than one organization, you will need to + either upgrade to the Pro plan, transfer your projects to a Pro organization, or migrate to self-hosting. + + + + Date: Thu, 30 Nov 2023 10:06:24 +0000 Subject: [PATCH 2/2] fix: review comments --- src/routes/console/createOrganization.svelte | 22 ++++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/routes/console/createOrganization.svelte b/src/routes/console/createOrganization.svelte index 4209003bb2..fe4fbc8448 100644 --- a/src/routes/console/createOrganization.svelte +++ b/src/routes/console/createOrganization.svelte @@ -10,6 +10,7 @@ import { Submit, trackEvent, trackError } from '$lib/actions/analytics'; import { ID } from '@appwrite.io/console'; import Alert from '$lib/components/alert.svelte'; + import { isCloud } from '$lib/system'; export let show = false; @@ -44,15 +45,18 @@ - - Get ready for Appwrite Pro - We will soon introduce the much-anticipated Pro plan. Your account will continue to have access - to one free Starter organization. If you manage more than one organization, you will need to - either upgrade to the Pro plan, transfer your projects to a Pro organization, or migrate to self-hosting. - - - - + {#if isCloud} + + Get ready for Appwrite Pro + We will soon introduce the much-anticipated Pro plan. Your account will continue to have + access to one free Starter organization. If you manage more than one + organization, you will need to either upgrade to the Pro plan, transfer your projects to + a Pro organization, or migrate to self-hosting. + + + + + {/if}