mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 15:58:38 -05:00
adding beginning of survey maker and portal mode
This commit is contained in:
@@ -335,6 +335,11 @@ function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routePa
|
||||
$scope[fld] = master[fld];
|
||||
}
|
||||
};
|
||||
|
||||
//navigate to the survey maker
|
||||
$scope.navigateToSurvey = function() {
|
||||
$location.path($location.path() + '/survey');
|
||||
};
|
||||
}
|
||||
|
||||
JobTemplatesAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log', '$routeParams', 'JobTemplateForm',
|
||||
@@ -813,6 +818,11 @@ function JobTemplatesEdit($scope, $rootScope, $compile, $location, $log, $routeP
|
||||
});
|
||||
};
|
||||
|
||||
//navigate to the survey maker
|
||||
$scope.navigateToSurvey = function() {
|
||||
$location.path($location.path() + '/survey');
|
||||
};
|
||||
|
||||
// Related set: Delete button
|
||||
$scope['delete'] = function (set, itm_id, name, title) {
|
||||
$rootScope.flashMessage = null;
|
||||
|
||||
Reference in New Issue
Block a user