mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Show template.display_name in the site UI (#5069)
* Show display_name field in the template settings * Show template.display_name on pages: Templates, CreateWorkspace * Fix: template.display_name pattern * make fmt/prettier * Fix tests * Fix: make fmt/prettier * Fix: merge * Fix: autoFocus * i18n: display_name
This commit is contained in:
@@ -218,8 +218,9 @@ func TestTemplateEdit(t *testing.T) {
|
||||
// Properties don't change
|
||||
assert.Equal(t, template.Name, updated.Name)
|
||||
assert.Equal(t, template.Description, updated.Description)
|
||||
assert.Equal(t, template.DisplayName, updated.DisplayName)
|
||||
// Icon is removed, as the API considers it as "delete" request
|
||||
// These properties are removed, as the API considers it as "delete" request
|
||||
// See: https://github.com/coder/coder/issues/5066
|
||||
assert.Equal(t, "", updated.Icon)
|
||||
assert.Equal(t, "", updated.DisplayName)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user