From 9e0ce123022bf7bfa397745c6443853fa85a4559 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 13 Jun 2024 16:25:27 +0200 Subject: [PATCH] fix: design fixes --- .../project-[project]/auth/templates/+page.svelte | 15 +-------------- .../auth/templates/emailSignature.svelte | 2 ++ 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/routes/console/project-[project]/auth/templates/+page.svelte b/src/routes/console/project-[project]/auth/templates/+page.svelte index e1aa13e5a..91467021e 100644 --- a/src/routes/console/project-[project]/auth/templates/+page.svelte +++ b/src/routes/console/project-[project]/auth/templates/+page.svelte @@ -60,7 +60,6 @@ EmailTemplateLocale } from '@appwrite.io/console'; import Email2FaTemplate from './email2FATemplate.svelte'; - import { tierToPlan } from '$lib/stores/billing'; const projectId = $page.params.project; @@ -134,18 +133,6 @@

- {#if $organization.billingPlan === BillingPlan.FREE} - - All emails sent using the {tierToPlan(BillingPlan.FREE).name} plan will include attribution - to Appwrite in the signature. To send attribution-free emails, upgrade your plan. - - {/if} --> - {#if isCloud && $organization?.billingPlan === BillingPlan.FREE} + {#if isCloud && $organization?.billingPlan !== BillingPlan.FREE} {/if} diff --git a/src/routes/console/project-[project]/auth/templates/emailSignature.svelte b/src/routes/console/project-[project]/auth/templates/emailSignature.svelte index e09c5c302..c00b1d61a 100644 --- a/src/routes/console/project-[project]/auth/templates/emailSignature.svelte +++ b/src/routes/console/project-[project]/auth/templates/emailSignature.svelte @@ -34,6 +34,7 @@ width="266" height="171" class="u-image-object-fit-contain u-block u-only-dark u-width-full-line u-height-100-percent" + style:object-position="top" alt="Email Signature Example" /> {:else} Email Signature Example {/if}