{#if $showPolicyAlert && isCloud && $organization?.$id && $page.url.pathname.match(/\/databases\/database-[^/]+$/)} {@const isFreePlan = $organization?.billingPlan === BillingPlan.FREE} {@const subtitle = isFreePlan ? 'Upgrade your plan to ensure your data stays safe with advanced backup policies' : 'Protect your data by quickly adding a backup policy'} {@const ctaText = isFreePlan ? 'Upgrade plan' : 'Add backup'} {@const ctaURL = isFreePlan ? $upgradeURL : `${$page.url.pathname}/backups`} {subtitle}
{/if}