mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Fixed cancel icon so that it replace delete icon while project is in 'running' state
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user