Change create button prompt

This commit is contained in:
2023-02-23 22:18:01 -07:00
parent 268ac8f1e4
commit 2b6b4b7bf9
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func CreateCloneCredentialWidget(client graphql.Client) (list.Model, error) {
} }
} }
content = append(content, cloneCredentialCreateListItem("> Create Clone Credential <")) content = append(content, cloneCredentialCreateListItem("[Create Clone Credential]"))
model := list.New(content, cloneCredentialListItemDelegate{}, 50, 50) model := list.New(content, cloneCredentialListItemDelegate{}, 50, 50)
model.SetShowStatusBar(false) model.SetShowStatusBar(false)
+1 -1
View File
@@ -71,7 +71,7 @@ func CreatePipelineWidget(client graphql.Client) (list.Model, error) {
} }
} }
content = append(content, pipelineCreateListItem("> Create Pipeline <")) content = append(content, pipelineCreateListItem("[Create Pipeline]"))
model := list.New(content, pipelineListItemDelegate{}, 50, 50) model := list.New(content, pipelineListItemDelegate{}, 50, 50)
model.SetShowStatusBar(false) model.SetShowStatusBar(false)
+1 -1
View File
@@ -69,7 +69,7 @@ func CreateRunnerWidget(client graphql.Client) (list.Model, error) {
} }
} }
content = append(content, runnerCreateListItem("> Create Runner <")) content = append(content, runnerCreateListItem("[Create Runner]"))
model := list.New(content, runnerListItemDelegate{}, 50, 50) model := list.New(content, runnerListItemDelegate{}, 50, 50)
model.SetShowStatusBar(false) model.SetShowStatusBar(false)
+1 -1
View File
@@ -72,7 +72,7 @@ func CreateSecretWidget(client graphql.Client) (list.Model, error) {
} }
} }
content = append(content, secretCreateListItem("> Create Secret <")) content = append(content, secretCreateListItem("[Create Secret]"))
model := list.New(content, secretListItemDelegate{}, 50, 50) model := list.New(content, secretListItemDelegate{}, 50, 50)
model.SetShowStatusBar(false) model.SetShowStatusBar(false)