mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Fixed cancel icon so that it replace delete icon while project is in 'running' state
This commit is contained in:
parent
9b440c5209
commit
8c9afff4b9
@ -94,12 +94,6 @@ angular.module('ProjectsListDefinition', [])
|
||||
ngClass: "project.scm_type_class",
|
||||
dataPlacement: 'top'
|
||||
},
|
||||
cancel: {
|
||||
ngClick: "cancelUpdate(project.id, project.name)",
|
||||
awToolTip: 'Cancel the SCM update',
|
||||
ngShow: "project.status == 'updating'",
|
||||
dataPlacement: 'top'
|
||||
},
|
||||
schedule: {
|
||||
mode: 'all',
|
||||
ngClick: "editSchedules(project.id)",
|
||||
@ -117,6 +111,12 @@ angular.module('ProjectsListDefinition', [])
|
||||
awToolTip: 'Delete the project',
|
||||
ngShow: "project.status !== 'updating'",
|
||||
dataPlacement: 'top'
|
||||
},
|
||||
cancel: {
|
||||
ngClick: "cancelUpdate(project.id, project.name)",
|
||||
awToolTip: 'Cancel the SCM update',
|
||||
ngShow: "project.status == 'updating'",
|
||||
dataPlacement: 'top'
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user