Skip to content

Commit 7144f4f

Browse files
committed
chore: update warning content
1 parent b933efe commit 7144f4f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

site/src/modules/workspaces/ClassicParameterFlowDeprecationWarning/ClassicParameterFlowDeprecationWarning.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Alert } from "components/Alert/Alert";
22
import { Link } from "components/Link/Link";
33
import { linkToTemplate, useLinks } from "modules/navigation";
44
import type { FC } from "react";
5+
import { docs } from "utils/docs";
56

67
interface ClassicParameterFlowDeprecationWarningProps {
78
organizationName: string;
@@ -26,9 +27,17 @@ export const ClassicParameterFlowDeprecationWarning: FC<
2627
<Alert severity="warning" className="mb-2">
2728
<div>
2829
This template is using the classic parameter flow, which will be{" "}
29-
<strong>deprecated</strong> in a future release. Please migrate to
30-
dynamic improved functionality.
30+
<strong>deprecated</strong> and removed in a future release. Please
31+
migrate to{" "}
32+
<a
33+
href={docs("/admin/templates/extending-templates/dynamic-parameters")}
34+
className="text-content-link"
35+
>
36+
dynamic parameters
37+
</a>{" "}
38+
on template settings for improved functionality.
3139
</div>
40+
3241
<Link className="text-xs" href={templateSettingsLink}>
3342
Go to Template Settings
3443
</Link>

0 commit comments

Comments
 (0)