Reorder item actions for cluster
Since 'Delete Cluster' action is danger, so we should change order of item actions from the point of UX. Now: - 'Delete Cluster' - 'Show Certificate' - 'Sign Certificate' After: - 'Show Certificate' - 'Sign Certificate' - 'Delete Cluster' Change-Id: I8deb6ad6ec371d5a04c690aa3abc53499fb8324b
This commit is contained in:
parent
21afc6c0d5
commit
9288e0074a
@ -46,14 +46,6 @@
|
||||
{
|
||||
var clusterResourceType = registry.getResourceType(resourceType);
|
||||
clusterResourceType.itemActions
|
||||
.append({
|
||||
id: 'deleteClusterAction',
|
||||
service: deleteClusterService,
|
||||
template: {
|
||||
type: 'delete',
|
||||
text: gettext('Delete Cluster')
|
||||
}
|
||||
})
|
||||
.append({
|
||||
id: 'showCertificateAction',
|
||||
service: showCertificateService,
|
||||
@ -67,6 +59,14 @@
|
||||
template: {
|
||||
text: gettext('Sign Certificate')
|
||||
}
|
||||
})
|
||||
.append({
|
||||
id: 'deleteClusterAction',
|
||||
service: deleteClusterService,
|
||||
template: {
|
||||
type: 'delete',
|
||||
text: gettext('Delete Cluster')
|
||||
}
|
||||
});
|
||||
|
||||
clusterResourceType.batchActions
|
||||
|
Loading…
Reference in New Issue
Block a user