From d640fc70249ad408fc680cbd9cfc33d62dde38e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcelo=20Elizeche=20Land=C3=B3?= Date: Wed, 15 Oct 2025 11:46:03 -0300 Subject: [PATCH] web/admin: Add link to the docs in the import flow dialog (#17436) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add link to the docs in the import flow dialog * Apply suggestions from code review Co-authored-by: Dewi Roberts Signed-off-by: Marcelo Elizeche Landó * Use doclink --------- Signed-off-by: Marcelo Elizeche Landó Co-authored-by: Dewi Roberts --- web/src/admin/flows/FlowImportForm.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/web/src/admin/flows/FlowImportForm.ts b/web/src/admin/flows/FlowImportForm.ts index a672ed98bc..7e0eaec493 100644 --- a/web/src/admin/flows/FlowImportForm.ts +++ b/web/src/admin/flows/FlowImportForm.ts @@ -3,6 +3,7 @@ import "#elements/events/LogViewer"; import "#elements/forms/HorizontalFormElement"; import { DEFAULT_CONFIG } from "#common/api/config"; +import { docLink } from "#common/global"; import { SentryIgnoredError } from "#common/sentry/index"; import { Form } from "#elements/forms/Form"; @@ -68,9 +69,16 @@ export class FlowImportForm extends Form { return html`

- ${msg( - ".yaml files, which can be found on goauthentik.io and can be exported by authentik.", - )} + ${msg(".yaml files, which can be found in the Example Flows documentation")} +

+

+ ${msg("See more here:")}  + ${msg("Documentation")}

${this.result ? this.renderResult() : nothing}`;