We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69664ed commit 7e1caa7Copy full SHA for 7e1caa7
site/src/pages/TemplatesPage/TemplatesPageView.tsx
@@ -91,7 +91,23 @@ export const TemplatesPageView: FC<TemplatesPageViewProps> = (props) => {
91
</Stack>
92
</PageHeaderTitle>
93
{props.templates && props.templates.length > 0 && (
94
- <PageHeaderSubtitle>Choose a template to create a new workspace.</PageHeaderSubtitle>
+ <PageHeaderSubtitle>
95
+ Choose a template to create a new workspace
96
+ {props.canCreateTemplate ? (
97
+ <>
98
+ , or{" "}
99
+ <Link
100
+ href="https://coder.com/docs/coder-oss/latest/templates#add-a-template"
101
+ target="_blank"
102
+ >
103
+ manage templates
104
+ </Link>{" "}
105
+ from the CLI.
106
+ </>
107
+ ) : (
108
+ "."
109
+ )}
110
+ </PageHeaderSubtitle>
111
)}
112
</PageHeader>
113
0 commit comments