Skip to content

feat: Add templates page #1510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update column names
  • Loading branch information
kylecarbs committed May 17, 2022
commit eb6644fc4913f563572cf4210b283d8b9784ebab
6 changes: 3 additions & 3 deletions site/src/pages/TemplatesPage/TemplatesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ export const TemplatesPageView: React.FC<TemplatesPageViewProps> = (props) => {
<TableHead>
<TableRow>
<TableCell>Name</TableCell>
<TableCell>Description</TableCell>
<TableCell>Resources</TableCell>
<TableCell>Last Updated</TableCell>
<TableCell>Provisioner</TableCell>
<TableCell>Developers</TableCell>
<TableCell>Used By</TableCell>
</TableRow>
</TableHead>
<TableBody>
Expand Down Expand Up @@ -83,7 +83,7 @@ export const TemplatesPageView: React.FC<TemplatesPageViewProps> = (props) => {
<TableCell>
<img alt="Terraform" src="/terraform-logo.svg" />
</TableCell>
<TableCell>{template.workspace_owner_count}</TableCell>
<TableCell>{template.workspace_owner_count} developer{template.workspace_owner_count !== 1 && "s"}</TableCell>
</TableRow>
)
})}
Expand Down