{#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 and backed up' : 'Protect your data by quickly adding a backup policy'} {@const ctaText = isFreePlan ? 'Upgrade plan' : 'Create policy'} {@const ctaURL = isFreePlan ? $upgradeURL : `${page.url.pathname}/backups`} {subtitle}
{/if}