Fixed cancel icon so that it replace delete icon while project is in 'running' state

This commit is contained in:
Chris Houseknecht 2014-03-28 18:08:48 -04:00
parent 9b440c5209
commit 8c9afff4b9

View File

@ -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'
}
}
});