Change create button prompt
This commit is contained in:
@@ -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
@@ -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
@@ -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
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user