diff --git a/apps/ui/src/lib/components/DocLink.svelte b/apps/ui/src/lib/components/DocLink.svelte index 407605df2..0646734be 100644 --- a/apps/ui/src/lib/components/DocLink.svelte +++ b/apps/ui/src/lib/components/DocLink.svelte @@ -1,37 +1,32 @@ -
+ + > + + + + -
-{#if id} - {#if isLink} - LINK - {:else} - {@html explanation} - {/if} -{/if} + +See details in the documentation diff --git a/apps/ui/src/lib/components/Explainer.svelte b/apps/ui/src/lib/components/Explainer.svelte index 813220c67..e51934a58 100644 --- a/apps/ui/src/lib/components/Explainer.svelte +++ b/apps/ui/src/lib/components/Explainer.svelte @@ -1,6 +1,31 @@ -
{@html text}
+
+ + +
+{#if id} + {@html explanation} +{/if} diff --git a/apps/ui/src/lib/components/Setting.svelte b/apps/ui/src/lib/components/Setting.svelte index 339814921..b8aafbba8 100644 --- a/apps/ui/src/lib/components/Setting.svelte +++ b/apps/ui/src/lib/components/Setting.svelte @@ -1,5 +1,5 @@
@@ -38,7 +38,7 @@
{$t('forms.roots_password')}
@@ -24,7 +24,7 @@
@@ -38,7 +38,7 @@ import DocLink from '$lib/components/DocLink.svelte';
{$t('forms.password')}
{$t('forms.roots_password')}
@@ -26,7 +26,7 @@
@@ -54,7 +54,7 @@
@@ -13,7 +13,7 @@
import CopyPasswordField from '$lib/components/CopyPasswordField.svelte'; - import DocLink from '$lib/components/DocLink.svelte'; + import Explaner from '$lib/components/Explainer.svelte'; import { t } from '$lib/translations'; export let readOnly: any; export let service: any; @@ -8,7 +8,7 @@
- Ghost + Ghost
diff --git a/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte b/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte index f704c039f..034c37903 100644 --- a/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte +++ b/apps/ui/src/routes/services/[id]/_Services/_PlausibleAnalytics.svelte @@ -1,6 +1,6 @@ @@ -13,7 +13,7 @@
diff --git a/apps/ui/src/routes/settings/global.svelte b/apps/ui/src/routes/settings/global.svelte index 263845d42..bebacd17e 100644 --- a/apps/ui/src/routes/settings/global.svelte +++ b/apps/ui/src/routes/settings/global.svelte @@ -26,7 +26,7 @@ import { addToast, appSession, features } from '$lib/store'; import { errorNotification, getDomain } from '$lib/common'; import Menu from './_Menu.svelte'; - import DocLink from '$lib/components/DocLink.svelte'; + import Explaner from '$lib/components/Explainer.svelte'; let isRegistrationEnabled = settings.isRegistrationEnabled; let dualCerts = settings.dualCerts; @@ -196,7 +196,7 @@
{$t('application.url_fqdn')} - +
@@ -251,7 +251,7 @@
{$t('forms.public_port_range')} - +
@@ -283,7 +283,7 @@
- Custom DNS servers
diff --git a/apps/ui/src/routes/sources/[id]/_Github.svelte b/apps/ui/src/routes/sources/[id]/_Github.svelte index 2639d87bd..b7474db74 100644 --- a/apps/ui/src/routes/sources/[id]/_Github.svelte +++ b/apps/ui/src/routes/sources/[id]/_Github.svelte @@ -7,7 +7,7 @@ import { dashify, errorNotification, getDomain } from '$lib/common'; import { addToast, appSession } from '$lib/store'; import { dev } from '$app/env'; - import DocLink from '$lib/components/DocLink.svelte'; + import Explaner from '$lib/components/Explainer.svelte'; const { id } = $page.params; @@ -116,7 +116,7 @@
@@ -133,7 +133,7 @@
@@ -197,7 +197,7 @@ {#if selfHosted}
diff --git a/apps/ui/src/routes/sources/[id]/_Gitlab.svelte b/apps/ui/src/routes/sources/[id]/_Gitlab.svelte index a5329a777..889905da0 100644 --- a/apps/ui/src/routes/sources/[id]/_Gitlab.svelte +++ b/apps/ui/src/routes/sources/[id]/_Gitlab.svelte @@ -11,7 +11,7 @@ import { t } from '$lib/translations'; import { errorNotification } from '$lib/common'; import { addToast, appSession } from '$lib/store'; - import DocLink from '$lib/components/DocLink.svelte'; + import Explaner from '$lib/components/Explainer.svelte'; const { id } = $page.params; let url = settings.fqdn ? settings.fqdn : window.location.origin; @@ -241,7 +241,7 @@ {#if selfHosted}
@@ -260,7 +260,7 @@