adding some comments to code that i discussed with chris

This commit is contained in:
Jared Tabor
2014-08-29 16:50:43 -04:00
parent 8d15d0ade7
commit dbe6ab3694
4 changed files with 17 additions and 2 deletions

View File

@@ -131,7 +131,10 @@ angular.module('Tower', [
templateUrl: urlPrefix + 'partials/jobs.html',
controller: 'JobsListController'
}).
// when('/portal', {
// controller: 'Portal'
// })
when('/jobs/:id', {
templateUrl: urlPrefix + 'partials/job_detail.html',
controller: 'JobDetailController'

View File

@@ -376,7 +376,13 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi
};
}])
/**
* @ngdoc method
* @name helpers.function:JobSubmission#PlaybookRun
* @methodOf helpers.function:JobSubmission
* @description The playbook Run function is run when the user clicks the launch button
*
*/
// Submit request to run a playbook
.factory('PlaybookRun', ['$location','$routeParams', 'LaunchJob', 'PromptForPasswords', 'Rest', 'GetBasePath', 'Alert', 'ProcessErrors', 'Wait', 'Empty', 'PromptForCredential', 'PromptForVars',
function ($location, $routeParams, LaunchJob, PromptForPasswords, Rest, GetBasePath, Alert, ProcessErrors, Wait, Empty, PromptForCredential, PromptForVars) {