AC-458 added ability to cancel SCM update process. Started work on prompting for SCM and Inventory passwords during job submission process.

This commit is contained in:
chouseknecht
2013-10-14 14:19:40 +00:00
parent 9db247b22a
commit 0e0432241d
5 changed files with 130 additions and 60 deletions

View File

@@ -90,12 +90,21 @@ angular.module('ProjectsListDefinition', [])
ngClick: 'SCMUpdate(\{\{ project.id \}\})',
awToolTip: 'Perform an SCM update on this project'
},
cancel: {
label: 'Cancel',
icon: 'icon-minus-sign',
ngClick: "cancelUpdate(\{\{ project.id \}\}, '\{\{ project.name \}\}')",
"class": 'btn-danger btn-xs delete-btn',
awToolTip: 'Cancel a running SCM update process',
ngShow: "project.status == 'updating'"
},
"delete": {
label: 'Delete',
ngClick: "deleteProject(\{\{ project.id \}\},'\{\{ project.name \}\}')",
icon: 'icon-trash',
"class": 'btn-xs btn-danger',
awToolTip: 'Permanently remove project from the database'
"class": 'btn-danger btn-xs delete-btn',
awToolTip: 'Permanently remove project from the database',
ngShow: "project.status !== 'updating'"
}
}
});