mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
update di's of project controllers
This commit is contained in:
@@ -4,12 +4,12 @@
|
|||||||
* All Rights Reserved
|
* All Rights Reserved
|
||||||
*************************************************/
|
*************************************************/
|
||||||
|
|
||||||
export default ['$scope', '$rootScope', '$compile', '$location', '$log',
|
export default ['$scope', '$location', '$stateParams', 'GenerateForm',
|
||||||
'$stateParams', 'GenerateForm', 'ProjectsForm', 'Rest', 'Alert', 'ProcessErrors', 'GetBasePath',
|
'ProjectsForm', 'Rest', 'Alert', 'ProcessErrors', 'GetBasePath',
|
||||||
'GetProjectPath', 'GetChoices', 'Wait', '$state', 'CreateSelect2', 'i18n',
|
'GetProjectPath', 'GetChoices', 'Wait', '$state', 'CreateSelect2', 'i18n',
|
||||||
function($scope, $rootScope, $compile, $location, $log,
|
function($scope, $location, $stateParams, GenerateForm, ProjectsForm, Rest,
|
||||||
$stateParams, GenerateForm, ProjectsForm, Rest, Alert, ProcessErrors,
|
Alert, ProcessErrors, GetBasePath, GetProjectPath, GetChoices, Wait, $state,
|
||||||
GetBasePath, GetProjectPath, GetChoices, Wait, $state, CreateSelect2, i18n) {
|
CreateSelect2, i18n) {
|
||||||
|
|
||||||
var form = ProjectsForm(),
|
var form = ProjectsForm(),
|
||||||
base = $location.path().replace(/^\//, '').split('/')[0],
|
base = $location.path().replace(/^\//, '').split('/')[0],
|
||||||
|
|||||||
@@ -4,14 +4,15 @@
|
|||||||
* All Rights Reserved
|
* All Rights Reserved
|
||||||
*************************************************/
|
*************************************************/
|
||||||
|
|
||||||
export default ['$scope', '$rootScope', '$compile', '$location', '$log',
|
export default ['$scope', '$rootScope', '$stateParams', 'ProjectsForm', 'Rest',
|
||||||
'$stateParams', 'ProjectsForm', 'Rest', 'Alert', 'ProcessErrors', 'GenerateForm',
|
'Alert', 'ProcessErrors', 'GenerateForm', 'Prompt', 'ClearScope',
|
||||||
'Prompt', 'ClearScope', 'GetBasePath', 'GetProjectPath', 'Authorization', 'GetChoices', 'Empty',
|
'GetBasePath', 'GetProjectPath', 'Authorization', 'GetChoices', 'Empty',
|
||||||
'DebugForm', 'Wait', 'ProjectUpdate', '$state', 'CreateSelect2', 'ToggleNotification', 'i18n',
|
'Wait', 'ProjectUpdate', '$state', 'CreateSelect2', 'ToggleNotification',
|
||||||
function($scope, $rootScope, $compile, $location, $log,
|
'i18n',
|
||||||
$stateParams, ProjectsForm, Rest, Alert, ProcessErrors, GenerateForm,
|
function($scope, $rootScope, $stateParams, ProjectsForm, Rest, Alert,
|
||||||
Prompt, ClearScope, GetBasePath, GetProjectPath, Authorization,
|
ProcessErrors, GenerateForm, Prompt, ClearScope, GetBasePath,
|
||||||
GetChoices, Empty, DebugForm, Wait, ProjectUpdate, $state, CreateSelect2, ToggleNotification, i18n) {
|
GetProjectPath, Authorization, GetChoices, Empty, Wait, ProjectUpdate,
|
||||||
|
$state, CreateSelect2, ToggleNotification, i18n) {
|
||||||
|
|
||||||
ClearScope('htmlTemplate');
|
ClearScope('htmlTemplate');
|
||||||
|
|
||||||
|
|||||||
@@ -4,14 +4,14 @@
|
|||||||
* All Rights Reserved
|
* All Rights Reserved
|
||||||
*************************************************/
|
*************************************************/
|
||||||
|
|
||||||
export default ['$scope', '$rootScope', '$location', '$log', '$stateParams',
|
export default ['$scope', '$rootScope', '$log', '$stateParams', 'Rest', 'Alert',
|
||||||
'Rest', 'Alert', 'ProjectList', 'Prompt', 'ReturnToCaller', 'ClearScope', 'ProcessErrors',
|
'ProjectList', 'Prompt', 'ProcessErrors', 'GetBasePath', 'ProjectUpdate',
|
||||||
'GetBasePath', 'ProjectUpdate', 'Wait', 'GetChoices', 'Empty', 'Find', 'GetProjectIcon',
|
'Wait', 'Empty', 'Find', 'GetProjectIcon', 'GetProjectToolTip', '$filter',
|
||||||
'GetProjectToolTip', '$filter', '$state', 'rbacUiControlService', 'Dataset', 'i18n', 'QuerySet',
|
'$state', 'rbacUiControlService', 'Dataset', 'i18n', 'QuerySet',
|
||||||
function($scope, $rootScope, $location, $log, $stateParams,
|
function($scope, $rootScope, $log, $stateParams,Rest, Alert, ProjectList,
|
||||||
Rest, Alert, ProjectList, Prompt, ReturnToCaller, ClearScope, ProcessErrors,
|
Prompt, ProcessErrors, GetBasePath, ProjectUpdate, Wait, Empty, Find,
|
||||||
GetBasePath, ProjectUpdate, Wait, GetChoices, Empty, Find, GetProjectIcon,
|
GetProjectIcon, GetProjectToolTip, $filter, $state, rbacUiControlService,
|
||||||
GetProjectToolTip, $filter, $state, rbacUiControlService, Dataset, i18n, qs) {
|
Dataset, i18n, qs) {
|
||||||
|
|
||||||
var list = ProjectList,
|
var list = ProjectList,
|
||||||
defaultUrl = GetBasePath('projects');
|
defaultUrl = GetBasePath('projects');
|
||||||
|
|||||||
Reference in New Issue
Block a user