mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
web/admin: Add link to the docs in the import flow dialog (#17436)
* Add link to the docs in the import flow dialog * Apply suggestions from code review Co-authored-by: Dewi Roberts <dewi@goauthentik.io> Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> * Use doclink --------- Signed-off-by: Marcelo Elizeche Landó <marce@melizeche.com> Co-authored-by: Dewi Roberts <dewi@goauthentik.io>
This commit is contained in:
committed by
GitHub
parent
619fdb506f
commit
d640fc7024
@@ -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<Flow> {
|
||||
return html`<ak-form-element-horizontal label=${msg("Flow")} name="flow">
|
||||
<input type="file" value="" class="pf-c-form-control" />
|
||||
<p class="pf-c-form__helper-text">
|
||||
${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")}
|
||||
</p>
|
||||
<p class="pf-c-form__helper-text">
|
||||
${msg("See more here:")}
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href=${docLink("/add-secure-apps/flows-stages/flow/examples/flows/")}
|
||||
>${msg("Documentation")}</a
|
||||
>
|
||||
</p>
|
||||
</ak-form-element-horizontal>
|
||||
${this.result ? this.renderResult() : nothing}`;
|
||||
|
||||
Reference in New Issue
Block a user