diff --git a/src/app/components/hosting/BillingPrompts.svelte b/src/app/components/hosting/BillingPrompts.svelte index 196ceab9..9c1263bd 100644 --- a/src/app/components/hosting/BillingPrompts.svelte +++ b/src/app/components/hosting/BillingPrompts.svelte @@ -70,19 +70,30 @@ }) -{#snippet card(className: string, icon: string, message: string, actions: Snippet)} -
-
- +{#snippet card( + className: string, + icon: string, + message: string, + actions: Snippet, + dismiss?: () => void, +)} +
+ +

{message}

+
+ {@render actions()} +
-
- {@render actions()} -
+ {#if dismiss} + + {/if}
{/snippet} @@ -112,9 +123,6 @@ {#snippet autopayActions()} - {/snippet} {#if tenant} @@ -152,6 +160,7 @@ InfoCircle, "Set up automatic payments so your subscription renews without interruption.", autopayActions, + dismissAutopay, )} {/if} {/if} diff --git a/src/app/components/hosting/RelayListItem.svelte b/src/app/components/hosting/RelayListItem.svelte index 1d611cff..583e9e29 100644 --- a/src/app/components/hosting/RelayListItem.svelte +++ b/src/app/components/hosting/RelayListItem.svelte @@ -19,13 +19,15 @@ const href = $derived(makeSpacePath(getHostedRelayUrl(relay), "admin")) -
- -
-

{name}

-

{host}

+
+
+ +
+

{name}

+

{host}

+
-
+
{#if relay.sync_error} Failed to sync {:else} @@ -36,6 +38,6 @@ {ucFirst(relay.plan_id)} + Manage
- Manage